summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/ubsan/TestCases/Misc/Linux
Commit message (Collapse)AuthorAgeFilesLines
* compiler-rt: Rename last few cc files below test/ubsan to cppNico Weber2019-08-052-3/+3
| | | | | | See r367803 and similar other changes. llvm-svn: 367855
* [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.*Reid Kleckner2019-06-271-0/+0
| | | | | | | | | | | | | These lit configuration files are really Python source code. Using the .py file extension helps editors and tools use the correct language mode. LLVM and Clang already use this convention for lit configuration, this change simply applies it to all of compiler-rt. Reviewers: vitalybuka, dberris Differential Revision: https://reviews.llvm.org/D63658 llvm-svn: 364591
* [ubsan]: temporarily disable print_stack_trace.cc testAlexander Potapenko2017-05-051-0/+3
| | | | | | | | Some problems with ARM stack unwinding led to inaccurate stack traces being printed, which caused this test to fail on http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15-full-sh llvm-svn: 302239
* [ubsan] Implement __sanitizer_print_stack_trace for standalone UBSan runtime.Alexander Potapenko2017-05-051-0/+20
| | | | | | Patch by Max Moroz, reviewed at https://reviews.llvm.org/D32542 llvm-svn: 302218
* Fix the RUN on UBSAN unit testsSumanth Gundapaneni2015-12-011-1/+1
| | | | | | | | | For the build set up which runs the unit tests using an emulator like QEMU, the unit tests must be run using %run. Differential Revision: http://reviews.llvm.org/D15081 llvm-svn: 254467
* [UBSan] Test: Move coverage-levels.cc out of Linux directoryFilipe Cabecinhas2015-07-311-39/+0
| | | | | | | | | | | | | Summary: This test is working on other platforms. Reviewers: samsonov, emaste Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D10415 llvm-svn: 243771
* [SanitizerCoverage] Upgrade lit tests to new -fsanitize-coverage= flags.Alexey Samsonov2015-05-071-5/+5
| | | | llvm-svn: 236796
* [UBSan] Add a testcase for __ubsan_default_options() function.Alexey Samsonov2015-04-291-0/+18
| | | | llvm-svn: 236151
* Allow UBSan+MSan and UBSan+TSan combinations (Clang part).Alexey Samsonov2015-04-281-0/+3
| | | | | | | | Embed UBSan runtime into TSan and MSan runtimes in the same as we do in ASan. Extend UBSan test suite to also run tests for these combinations. llvm-svn: 235954
* [UBSan] Embed UBSan into ASan runtime (compiler-rt part).Alexey Samsonov2015-04-011-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Summary: Change the way we use ASan and UBSan together. Instead of keeping two separate runtimes (libclang_rt.asan and libclang_rt.ubsan), embed UBSan into ASan and get rid of libclang_rt.ubsan. If UBSan is not supported on a platform, all UBSan sources are just compiled into dummy empty object files. UBSan initialization code (e.g. flag parsing) is directly called from ASan initialization, so we are able to enforce correct initialization order. This mirrors the approach we already use for ASan+LSan. This change doesn't modify the way we use standalone UBSan. Test Plan: regression test suite Reviewers: kubabrecka, zaks.anna, rsmith, kcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8646 llvm-svn: 233861
* Make the UBSan coverage-levels.cc test be Linux specificKuba Brecka2015-03-122-0/+45
Reviewed at http://reviews.llvm.org/D8278 llvm-svn: 232025
OpenPOWER on IntegriCloud