llvm-project/compiler-rt/lib/ubsan
Emily Shi 9059903f2d [ubsan] support print_module_map flag in standalone mode
Currently, `print_module_map` is only respected for ubsan if it is ran in tandem with asan. This patch adds support for this flag in standalone mode. I copied the pattern used to implement this for asan.

Also added a common `print_module_map` lit test for Darwin only. Since the print messages are different per platform, we need to write a regex test to cover them. This test is coming in a separate patch

rdar://56135732

Reviewed By: vitalybuka, vsk, delcypher

Differential Revision: https://reviews.llvm.org/D97746
2021-03-05 13:59:56 -08:00
..
CMakeLists.txt [compiler-rt][cmake] Simplify COMPILER_RT_HAS_VERSION_SCRIPT tests 2020-07-30 10:27:36 +02:00
ubsan.syms.extra
ubsan_checks.inc [ubsan] Check implicit casts in ObjC for-in statements 2020-07-13 15:11:18 -07:00
ubsan_diag.cpp [ubsan] support print_module_map flag in standalone mode 2021-03-05 13:59:56 -08:00
ubsan_diag.h [NFC][Sanitizer] Pull up GetStackTrace into sanitizer_common 2019-02-27 22:16:02 +00:00
ubsan_diag_standalone.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_flags.cpp [sanitizers] Remove unneeded MaybeCall*DefaultOptions() and nullptr checks 2020-09-08 10:12:05 -07:00
ubsan_flags.h [sanitizers] Remove unneeded MaybeCall*DefaultOptions() and nullptr checks 2020-09-08 10:12:05 -07:00
ubsan_flags.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_handlers.cpp [ubsan] Check implicit casts in ObjC for-in statements 2020-07-13 15:11:18 -07:00
ubsan_handlers.h [ubsan] Check implicit casts in ObjC for-in statements 2020-07-13 15:11:18 -07:00
ubsan_handlers_cxx.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_handlers_cxx.h Finish "Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO" 2019-07-16 06:23:27 +00:00
ubsan_init.cpp [ubsan] support print_module_map flag in standalone mode 2021-03-05 13:59:56 -08:00
ubsan_init.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_init_standalone.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_init_standalone_preinit.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_interface.inc Update ubsan_interface.inc for D71491 (second try) 2020-07-14 11:16:11 -07:00
ubsan_monitor.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_monitor.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_platform.h [Sanitizers] Remove OpenBSD support (new attempt) 2020-10-20 11:16:09 +01:00
ubsan_signals_standalone.cpp [compiler-rt] Use GetNextInstructionPc in signal handlers 2019-10-02 21:20:37 +00:00
ubsan_signals_standalone.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_type_hash.cpp Remove a few straggler ".cc"s in compiler-rt/lib 2019-08-01 17:53:25 +00:00
ubsan_type_hash.h Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO 2019-05-02 06:40:33 +00:00
ubsan_type_hash_itanium.cpp [compiler-rt] [ubsan] Use the itanium type info lookup for mingw targets 2020-11-03 09:59:08 +02:00
ubsan_type_hash_win.cpp [compiler-rt] [ubsan] Use the itanium type info lookup for mingw targets 2020-11-03 09:59:08 +02:00
ubsan_value.cpp Fix UBSAN in __ubsan::Value::getSIntValue 2021-02-23 11:10:21 +01:00
ubsan_value.h [ubsan] Check implicit casts in ObjC for-in statements 2020-07-13 15:11:18 -07:00
ubsan_win_dll_thunk.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_win_dynamic_runtime_thunk.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_win_weak_interception.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
weak_symbols.txt