SuccessChanges

Summary

  1. [asan][test] Use --image-base for Linux/asan_prelink_test.cpp if ld is LLD (details)
  2. [DSE,MemorySSA] Add an early check for read clobbers to traversal. (details)
  3. [Sema][MSVC] warn at dynamic_cast when /GR- is given (details)
Commit 5f5a0bb0872a9673bad08b38bc0b14c42263902a by i
[asan][test] Use --image-base for Linux/asan_prelink_test.cpp if ld is LLD

LLD supports -Ttext but with the option there is still a PT_LOAD at address zero
and thus the Linux kernel will map it to a different address and the test will fail.

Use --image-base instead.
The file was modifiedcompiler-rt/test/asan/TestCases/Linux/asan_prelink_test.cpp
Commit efb8e156daa120a25f993b3142ef8d6ef766df5a by flo
[DSE,MemorySSA] Add an early check for read clobbers to traversal.

Depending on the benchmark, this early exit can save a substantial
amount of compile-time:

http://llvm-compile-time-tracker.com/compare.php?from=505f2d817aa8e07ba98e5fd4a8f6ff0666f89df1&to=eb4e441147f9b4b7a5fcbbc57428cadbe9e01f10&stat=instructions
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/read-clobber-after-overwrite.ll
Commit 3e782bf8090c80e6d75e62cd52c9ed32715cbcdd by zequanwu
[Sema][MSVC] warn at dynamic_cast when /GR- is given

Differential Revision: https://reviews.llvm.org/D86369
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/SemaCXX/ms_no_dynamic_cast.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was addedclang/test/SemaCXX/no_dynamic_cast.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td