Changes

Summary

  1. [sanitizer] Replace -mllvm -asan-use-after-return in compile-rt tests with -fsanitize-address-use-after-return (NFC) (details)
  2. [sanitizer] Remove numeric values from -asan-use-after-return flag. (NFC) (details)
  3. [InstCombine] update test checks; NFC (details)
  4. [InstCombine] add tests for bit manipulation intrinsics with bool values; NFC (details)
  5. [NFC][OpaquePtr] Make getMemoryParamAllocType() compatible with opaque pointers (details)
  6. [ASan/Win] Hide index from compiler to avoid new clang warning (details)
Commit 60084d490059719b950b5800715c3c0637218bc5 by kda
[sanitizer] Replace -mllvm -asan-use-after-return in compile-rt tests with -fsanitize-address-use-after-return (NFC)

for issue: https://github.com/google/sanitizers/issues/1394

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D104146
The file was modifiedcompiler-rt/test/asan/TestCases/Posix/stack-use-after-return.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/uar_and_exceptions.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/scariness_score_test.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/pass-struct-byval-uar.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/Linux/uar_signals.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/heavy_uar_test.cpp
Commit 1d22596b2f6aef587af785744d8951668559113e by kda
[sanitizer] Remove numeric values from -asan-use-after-return flag. (NFC)

for issue: https://github.com/google/sanitizers/issues/1394

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D104152
The file was modifiedllvm/test/DebugInfo/X86/asan_debug_info.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
The file was modifiedllvm/test/Instrumentation/AddressSanitizer/fake-stack.ll
The file was modifiedllvm/test/Instrumentation/AddressSanitizer/debug_info.ll
The file was modifiedllvm/test/Instrumentation/AddressSanitizer/lifetime.ll
The file was modifiedllvm/test/Instrumentation/AddressSanitizer/lifetime-throw.ll
Commit ad1d60bf5334ebdf6c6675f1e3b4a079078a5885 by spatel
[InstCombine] update test checks; NFC
The file was modifiedllvm/test/Transforms/InstCombine/intrinsics.ll
Commit 1c51bf3b78854fd1c8faff0533cf4307f7828ada by spatel
[InstCombine] add tests for bit manipulation intrinsics with bool values; NFC
The file was modifiedllvm/test/Transforms/InstCombine/intrinsics.ll
Commit 37a2c4517bbf93bca18f9c67d9c6cfb3a6a627ec by aeubanks
[NFC][OpaquePtr] Make getMemoryParamAllocType() compatible with opaque pointers

These ABI attributes now always require the type parameter.

sret was missing from the first set of checks but was covered by the
second set.
The file was modifiedllvm/lib/IR/Function.cpp
Commit b9af157fd18d375ac689ae241b831ccd95c42243 by rnk
[ASan/Win] Hide index from compiler to avoid new clang warning
The file was modifiedcompiler-rt/test/asan/TestCases/Windows/operator_array_new_with_dtor_left_oob.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/Windows/dll_operator_array_new_with_dtor_left_oob.cpp