Changes

Summary

  1. Fix build of LookupResult.cpp from aeda128 with Visual C++. (details)
  2. [LCSSA] Don't use VH callbacks to invalidate SCEV when creating LCSSA (details)
  3. [Dsymutil][NFC] Move NonRelocatableStringpool into common CodeGen (details)
  4. gn build: Merge 9e8c799e2b0 (details)
  5. [compiler-rt] [test] Disable ASLR on ASAN/MSAN/TSAN tests on NetBSD (details)
Commit da650094b187ee3c8017d74f63c885663faca1d8 by douglas.yung
Fix build of LookupResult.cpp from aeda128 with Visual C++.
The file was modifiedllvm/lib/DebugInfo/GSYM/LookupResult.cpp
Commit c4d8c6319f576a7540017168db2f0440691914f4 by suc-daniil
[LCSSA] Don't use VH callbacks to invalidate SCEV when creating LCSSA
phis
In general ValueHandleBase::ValueIsRAUWd shouldn't be called when not
all uses of the value were actually replaced, though, currently
formLCSSAForInstructions calls it when it inserts LCSSA-phis.
Calls of ValueHandleBase::ValueIsRAUWd were added to LCSSA specifically
to update/invalidate SCEV. In the best case these calls duplicate some
of the work already done by SE->forgetValue, though in case when SCEV of
the value is SCEVUnknown, SCEV replaces the underlying value of
SCEVUnknown with the new value (i.e. acts like LCSSA-phi actually fully
replaces the value it is created for), which leads to SCEV being
corrupted because LCSSA-phi rarely dominates all uses of its inputs.
Fixes bug https://bugs.llvm.org/show_bug.cgi?id=44058.
Reviewers: fhahn, efriedma, reames, sanjoy.google
Reviewed By: fhahn
Subscribers: hiraditya, javed.absar, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70593
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was modifiedllvm/lib/Transforms/Utils/LCSSA.cpp
The file was addedllvm/test/Transforms/LCSSA/pr44058.ll
Commit 9e8c799e2b0dc3e3b20f5044309fa8e48e8e3e32 by a.v.lapshin
[Dsymutil][NFC] Move NonRelocatableStringpool into common CodeGen
folder.
That refactoring moves NonRelocatableStringpool into common CodeGen
folder. So that NonRelocatableStringpool could be used not only inside
dsymutil.
Differential Revision: https://reviews.llvm.org/D71068
The file was removedllvm/tools/dsymutil/NonRelocatableStringpool.h
The file was modifiedllvm/tools/dsymutil/DwarfLinker.cpp
The file was modifiedllvm/tools/dsymutil/MachOUtils.cpp
The file was modifiedllvm/tools/dsymutil/DeclContext.h
The file was removedllvm/tools/dsymutil/NonRelocatableStringpool.cpp
The file was modifiedllvm/tools/dsymutil/CMakeLists.txt
The file was addedllvm/include/llvm/CodeGen/NonRelocatableStringpool.h
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was addedllvm/lib/CodeGen/NonRelocatableStringpool.cpp
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.h
Commit 90409f73a5e1418c7623317e5cc3b417bab7c59a by llvmgnsyncbot
gn build: Merge 9e8c799e2b0
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/dsymutil/BUILD.gn
Commit 6c2b2b9e20abb27ab5c1ae255c1862785b793c1f by mgorny
[compiler-rt] [test] Disable ASLR on ASAN/MSAN/TSAN tests on NetBSD
Use a new %run wrapper for ASAN/MSAN/TSAN tests that calls paxctl in
order to disable ASLR on the test executables.  This makes it possible
to test sanitizers on systems where ASLR is enabled by default.
Differential Revision: https://reviews.llvm.org/D70958
The file was addedcompiler-rt/test/sanitizer_common/netbsd_commands/run_noaslr.sh
The file was modifiedcompiler-rt/test/tsan/lit.cfg.py
The file was modifiedcompiler-rt/test/lit.common.cfg.py
The file was modifiedcompiler-rt/test/asan/lit.cfg.py
The file was modifiedcompiler-rt/test/sanitizer_common/lit.common.cfg.py
The file was modifiedcompiler-rt/test/msan/lit.cfg.py