about summary refs log tree commit diff
path: root/src/test/codegen/sanitizer-recover.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-49/+0
2021-04-03Manually set dso_local when its valid to do soSimonas Kazlauskas-5/+5
This should have no real effect in most cases, as e.g. `hidden` visibility already implies `dso_local` (or at least LLVM IR does not preserve the `dso_local` setting if the item is already `hidden`), but it should fix `-Crelocation-model=static` and improve codegen in executables. Note that this PR does not exhaustively port the logic in [clang]. Only the obviously correct portion and what is necessary to fix a regression from LLVM 12 that relates to `-Crelocation_model=static`. Fixes #83335 [clang]: https://github.com/llvm/llvm-project/blob/3001d080c813da20b329303bf8f45451480e5905/clang/lib/CodeGen/CodeGenModule.cpp#L945-L1039
2020-06-25Prepare for LLVM 11Josh Stone-3/+3
2020-06-13compiletest: Add directives to detect sanitizer supportTomasz Miąsko-3/+2
Add needs-sanitizer-{address,leak,memory,thread} directive indicating that test requires target with support for specific sanitizer. This is an addition to the existing needs-sanitizer-support directive indicating that test requires a sanitizer runtime library.
2020-03-03Fix check for __msan_keep_going in sanitizer-recover testTomasz Miąsko-2/+2
Match `@__msan_keep_going = weak_odr constant i32 1`.
2020-01-21Mark __msan_keep_going as an exported symbol for LTOTomasz Miąsko-20/+36
2019-11-22Add support for sanitizer recoveryTomasz Miąsko-0/+34