SuccessChanges

Summary

  1. CFI: Add a blacklist entry for std::_Sp_counted_ptr_inplace::_Sp_counted_ptr_inplace(). This ctor is used by std::make_shared and needs to cast to uninitialized T* in order to call std::allocator_traits<T>::construct.
  2. Make sure sdk is set on darwin I noticed in some places xcrun was not correctly picking the macOS sdk. Lets set that explicitly.
  3. CodeGen: avoid use of @clang.arc.use intrinsic at O0 The clang.arc.use intrinsic is removed via the ARC Contract Pass. This pass is only executed in optimized builds (>= opt level 1). Prevent the optimization implemented in SVN r301667 from triggering at optimization level 0 like every other ARC use intrinsic usage.
  4. Fix LNT’s js to corrrectly determine base URL when server has a prefix There was a number of errors in the JS leading to a invalid prefix being generated at runtime. That made some of the URLs and ajax requests invalid. The prefix was being overwritten, and had the wrong value. Now we use a global determined by Flask (which should know these things) and update the urls to not overwrite each other.
  5. Fix missing strftime in production
  6. Simplify dbg.value handling in SDISel with early returns No functional change other than improving dbgs logging accuracy on constant dbg values. Previously we would add things like "i32 42" as debug values, and then log that we were dropping the debug info, which is silly. Delete some dead code that was checking for static allocas. This remained after r207165, but served no purpose. Currently, static alloca dbg.values are always sent through the DanglingDebugInfoMap, and are usually made valid the first time the alloca is used.
  7. [WebAssembly] Add ObjectYAML support for wasm name section Differential Revision: https://reviews.llvm.org/D32841
  8. [bpf] fix a bug which causes incorrect big endian reloc fixup o Add bpfeb support in BPF dwarfdump unit test case Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@fb.com>
  9. Add NetBSD to the list of platforms supporting death tests. Two unit tests require this for compilation.
  10. If posix_fallocate returns EOPNOTSUPP, fallback to ftruncate. This can happen at least on NetBSD.
  11. [KnownBits] Add wrapper methods for setting and clear all bits in the underlying APInts in KnownBits. This adds routines for reseting KnownBits to unknown, making the value all zeros or all ones. It also adds methods for querying if the value is zero, all ones or unknown. Differential Revision: https://reviews.llvm.org/D32637
  12. [clang-tidy] Fix misc-move-const-arg for move-only types. Summary: Fix misc-move-const-arg false positives on move-only types. Reviewers: sbenza Reviewed By: sbenza Subscribers: xazax.hun, cfe-commits Differential Revision: https://reviews.llvm.org/D31160
  13. Add missing 'arch' key to valid qHostInfo keys Summary: 'arch' is a valid qHostInfo key, but the unit test for qHostInfo did not include it in the set of possible keys. Reviewers: tfiala, labath Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D32711
  14. ANSIfy more. Still no behavior change.
  15. ANSIfy. No behavior change.
  16. Allow operator-> to work from a FixedStreamArrayIterator. This is similar to my recent fix for VarStreamArrayIterator, but the cause (and thus the fix) is subtley different. The FixedStreamArrayIterator iterates over a const Array, so the iterator's value type must be const.
  17. [Float2Int] Replace a ConstantRange copy with a move. Remove an extra call to MapVector::find.
  18. Warn that the [] spelling of uuid(...) is deprecated. https://reviews.llvm.org/D32879
  19. [ADT] Add BitVector::find_prev. This almost completes the matrix of all possible find functions. *EXISTING* ---------- find_first find_first_unset find_next find_next_unset find_last find_last_unset *NEW* ---- find_prev *STILL MISSING* --------------- find_prev_unset Differential Revision: https://reviews.llvm.org/D32885
Revision 302272 by pcc:
CFI: Add a blacklist entry for std::_Sp_counted_ptr_inplace::_Sp_counted_ptr_inplace().

This ctor is used by std::make_shared and needs to cast to uninitialized T*
in order to call std::allocator_traits<T>::construct.
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/cfi/cfi_blacklist.txt (diff)llvm-revision.src/compiler-rt/trunk/lib/cfi/cfi_blacklist.txt
Revision 302271 by Chris Matthews:
Make sure sdk is set on darwin

I noticed in some places xcrun was not correctly picking the macOS sdk.
Lets set that explicitly.
Change TypePath in RepositoryPath in Workspace
The file was modified/lnt/trunk/setup.py (diff)llvm-revision.src/lnt/trunk/setup.py
Revision 302270 by Saleem Abdulrasool:
CodeGen: avoid use of @clang.arc.use intrinsic at O0

The clang.arc.use intrinsic is removed via the ARC Contract Pass.  This
pass is only executed in optimized builds (>= opt level 1).  Prevent the
optimization implemented in SVN r301667 from triggering at optimization
level 0 like every other ARC use intrinsic usage.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CGBlocks.cpp (diff)llvm-revision.src/cfe/trunk/lib/CodeGen/CGBlocks.cpp
The file was modified/cfe/trunk/test/CodeGenObjC/arc-foreach.m (diff)llvm-revision.src/cfe/trunk/test/CodeGenObjC/arc-foreach.m
Revision 302269 by Chris Matthews:
Fix LNT’s js to corrrectly determine base URL when server has a prefix

There was a number of errors in the JS leading to a invalid prefix being
generated at runtime. That made some of the URLs and ajax requests
invalid. The prefix was being overwritten, and had the wrong value.

Now we use a global determined by Flask (which should know these things)
and update the urls to not overwrite each other.
Change TypePath in RepositoryPath in Workspace
The file was modified/lnt/trunk/lnt/server/ui/static/lnt_graph.js (diff)llvm-revision.src/lnt/trunk/lnt/server/ui/static/lnt_graph.js
The file was modified/lnt/trunk/lnt/server/ui/templates/layout.html (diff)llvm-revision.src/lnt/trunk/lnt/server/ui/templates/layout.html
Revision 302268 by Chris Matthews:
Fix missing strftime in production
Change TypePath in RepositoryPath in Workspace
The file was modified/lnt/trunk/lnt/server/ui/regression_views.py (diff)llvm-revision.src/lnt/trunk/lnt/server/ui/regression_views.py
Revision 302267 by rnk:
Simplify dbg.value handling in SDISel with early returns

No functional change other than improving dbgs logging accuracy on
constant dbg values. Previously we would add things like "i32 42" as
debug values, and then log that we were dropping the debug info, which
is silly.

Delete some dead code that was checking for static allocas. This
remained after r207165, but served no purpose. Currently, static alloca
dbg.values are always sent through the DanglingDebugInfoMap, and are
usually made valid the first time the alloca is used.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (diff)llvm-revision.src/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Revision 302266 by sbc:
[WebAssembly] Add ObjectYAML support for wasm name section

Differential Revision: https://reviews.llvm.org/D32841
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/ObjectYAML/WasmYAML.h (diff)llvm-revision.src/llvm/trunk/include/llvm/ObjectYAML/WasmYAML.h
The file was modified/llvm/trunk/lib/ObjectYAML/WasmYAML.cpp (diff)llvm-revision.src/llvm/trunk/lib/ObjectYAML/WasmYAML.cpp
The file was added/llvm/trunk/test/ObjectYAML/wasm/name_section.yamlllvm-revision.src/llvm/trunk/test/ObjectYAML/wasm/name_section.yaml
The file was modified/llvm/trunk/tools/obj2yaml/wasm2yaml.cpp (diff)llvm-revision.src/llvm/trunk/tools/obj2yaml/wasm2yaml.cpp
The file was modified/llvm/trunk/tools/yaml2obj/yaml2wasm.cpp (diff)llvm-revision.src/llvm/trunk/tools/yaml2obj/yaml2wasm.cpp
Revision 302265 by ast:
[bpf] fix a bug which causes incorrect big endian reloc fixup

  o Add bpfeb support in BPF dwarfdump unit test case

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@fb.com>
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp (diff)llvm-revision.src/llvm/trunk/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
The file was modified/llvm/trunk/test/CodeGen/BPF/dwarfdump.ll (diff)llvm-revision.src/llvm/trunk/test/CodeGen/BPF/dwarfdump.ll
Revision 302264 by joerg:
Add NetBSD to the list of platforms supporting death tests. Two unit
tests require this for compilation.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port-arch.h (diff)llvm-revision.src/llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port-arch.h
The file was modified/llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port.h (diff)llvm-revision.src/llvm/trunk/utils/unittest/googletest/include/gtest/internal/gtest-port.h
Revision 302263 by joerg:
If posix_fallocate returns EOPNOTSUPP, fallback to ftruncate.
This can happen at least on NetBSD.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Support/Unix/Path.inc (diff)llvm-revision.src/llvm/trunk/lib/Support/Unix/Path.inc
Revision 302262 by ctopper:
[KnownBits] Add wrapper methods for setting and clear all bits in the underlying APInts in KnownBits.

This adds routines for reseting KnownBits to unknown, making the value all zeros or all ones. It also adds methods for querying if the value is zero, all ones or unknown.

Differential Revision: https://reviews.llvm.org/D32637
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/FunctionLoweringInfo.h (diff)llvm-revision.src/llvm/trunk/include/llvm/CodeGen/FunctionLoweringInfo.h
The file was modified/llvm/trunk/include/llvm/Support/KnownBits.h (diff)llvm-revision.src/llvm/trunk/include/llvm/Support/KnownBits.h
The file was modified/llvm/trunk/lib/Analysis/Lint.cpp (diff)llvm-revision.src/llvm/trunk/lib/Analysis/Lint.cpp
The file was modified/llvm/trunk/lib/Analysis/ValueTracking.cpp (diff)llvm-revision.src/llvm/trunk/lib/Analysis/ValueTracking.cpp
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (diff)llvm-revision.src/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (diff)llvm-revision.src/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cpp (diff)llvm-revision.src/llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (diff)llvm-revision.src/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp (diff)llvm-revision.src/llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/Sparc/SparcISelLowering.cpp (diff)llvm-revision.src/llvm/trunk/lib/Target/Sparc/SparcISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (diff)llvm-revision.src/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/XCore/XCoreISelLowering.cpp (diff)llvm-revision.src/llvm/trunk/lib/Target/XCore/XCoreISelLowering.cpp
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp (diff)llvm-revision.src/llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp (diff)llvm-revision.src/llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp (diff)llvm-revision.src/llvm/trunk/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
Revision 302261 by alexfh:
[clang-tidy] Fix misc-move-const-arg for move-only types.

Summary: Fix misc-move-const-arg false positives on move-only types.

Reviewers: sbenza

Reviewed By: sbenza

Subscribers: xazax.hun, cfe-commits

Differential Revision: https://reviews.llvm.org/D31160
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clang-tidy/misc/MoveConstantArgumentCheck.cpp (diff)llvm-revision.src/clang-tools-extra/trunk/clang-tidy/misc/MoveConstantArgumentCheck.cpp
The file was modified/clang-tools-extra/trunk/test/clang-tidy/misc-move-const-arg.cpp (diff)llvm-revision.src/clang-tools-extra/trunk/test/clang-tidy/misc-move-const-arg.cpp
Revision 302260 by fjricci:
Add missing 'arch' key to valid qHostInfo keys

Summary:
'arch' is a valid qHostInfo key, but the unit
test for qHostInfo did not include it in the set of possible keys.

Reviewers: tfiala, labath

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D32711
Change TypePath in RepositoryPath in Workspace
The file was modified/lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteHostInfo.py (diff)llvm-revision.src/lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteHostInfo.py
Revision 302259 by nico:
ANSIfy more. Still no behavior change.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CGBuiltin.cpp (diff)llvm-revision.src/cfe/trunk/lib/CodeGen/CGBuiltin.cpp
Revision 302258 by nico:
ANSIfy. No behavior change.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CGBuiltin.cpp (diff)llvm-revision.src/cfe/trunk/lib/CodeGen/CGBuiltin.cpp
The file was modified/cfe/trunk/lib/Sema/SemaDeclAttr.cpp (diff)llvm-revision.src/cfe/trunk/lib/Sema/SemaDeclAttr.cpp
The file was modified/cfe/trunk/lib/Sema/SemaStmt.cpp (diff)llvm-revision.src/cfe/trunk/lib/Sema/SemaStmt.cpp
Revision 302257 by amccarth:
Allow operator-> to work from a FixedStreamArrayIterator.

This is similar to my recent fix for VarStreamArrayIterator, but the cause
(and thus the fix) is subtley different.  The FixedStreamArrayIterator
iterates over a const Array, so the iterator's value type must be const.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Support/BinaryStreamArray.h (diff)llvm-revision.src/llvm/trunk/include/llvm/Support/BinaryStreamArray.h
Revision 302256 by ctopper:
[Float2Int] Replace a ConstantRange copy with a move. Remove an extra call to MapVector::find.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Scalar/Float2Int.cpp (diff)llvm-revision.src/llvm/trunk/lib/Transforms/Scalar/Float2Int.cpp
Revision 302255 by nico:
Warn that the [] spelling of uuid(...) is deprecated.

https://reviews.llvm.org/D32879
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (diff)llvm-revision.src/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
The file was modified/cfe/trunk/lib/Parse/ParseDeclCXX.cpp (diff)llvm-revision.src/cfe/trunk/lib/Parse/ParseDeclCXX.cpp
The file was modified/cfe/trunk/lib/Sema/SemaDeclAttr.cpp (diff)llvm-revision.src/cfe/trunk/lib/Sema/SemaDeclAttr.cpp
The file was modified/cfe/trunk/test/Parser/MicrosoftExtensions.cpp (diff)llvm-revision.src/cfe/trunk/test/Parser/MicrosoftExtensions.cpp
The file was modified/cfe/trunk/test/Parser/ms-square-bracket-attributes.mm (diff)llvm-revision.src/cfe/trunk/test/Parser/ms-square-bracket-attributes.mm
The file was modified/cfe/trunk/test/SemaCXX/ms-uuid.cpp (diff)llvm-revision.src/cfe/trunk/test/SemaCXX/ms-uuid.cpp
Revision 302254 by zturner:
[ADT] Add BitVector::find_prev.

This almost completes the matrix of all possible find
functions.

*EXISTING*
----------
find_first
find_first_unset
find_next
find_next_unset
find_last
find_last_unset

*NEW*
----
find_prev

*STILL MISSING*
---------------
find_prev_unset

Differential Revision: https://reviews.llvm.org/D32885
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/ADT/BitVector.h (diff)llvm-revision.src/llvm/trunk/include/llvm/ADT/BitVector.h
The file was modified/llvm/trunk/include/llvm/ADT/SmallBitVector.h (diff)llvm-revision.src/llvm/trunk/include/llvm/ADT/SmallBitVector.h
The file was modified/llvm/trunk/unittests/ADT/BitVectorTest.cpp (diff)llvm-revision.src/llvm/trunk/unittests/ADT/BitVectorTest.cpp