llvm-project/compiler-rt/lib
Vitaly Buka 8df3e1fd86 Add option to symbolize inline frames for InternalSymbolizer
Summary:
Currently, there is no way to let the `InternalSymbolizer` implemented
functions know if inline frames should be symbolized. This patch updates
the function `__sanitizer_symbolize_code` to include a parameter for
this ASAN option and toggle between LLVM symbolization functions when
appropriate.

Fixes the following two failing tests when internal symbolization is
enabled:
```
SanitizerCommon-*-x86_64-Linux :: print-stack-trace.cpp
SanitizerCommon-*-x86_64-Linux :: symbolize_pc_inline.cpp
```

Reviewers: vitalybuka, kcc, filcab

Reviewed By: vitalybuka

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D79280
2020-06-23 19:56:53 -07:00
..
BlocksRuntime
asan [asan] Unpoison signal alternate stack. 2020-06-16 02:28:38 -07:00
builtins Recommit "[X86] Calculate the needed size of the feature arrays in _cpu_indicator_init and getHostCPUName using the size of the feature enum." 2020-06-22 13:32:03 -07:00
cfi Improve error message when '=' is missing in {ASAN,...}_OPTIONS. 2019-06-15 01:37:14 +00:00
crt [cmake] Strip quotes in compiler-rt/lib/crt; error if checks fail 2020-03-09 15:52:39 -07:00
dfsan [dfsan] Remove realloc from done_abilist.txt 2020-05-05 22:32:45 -07:00
fuzzer [libFuzzer] Fixed description of fuzzer merge control file. 2020-05-29 16:00:26 -07:00
gwp_asan [GWP-ASan] Use functions in backtrace test, not line numbers. 2020-03-26 10:10:24 -07:00
hwasan [NFC] Rename variable to workaround old gcc bug 2020-06-10 12:14:53 -07:00
interception Fix check-interception link error in compiler-rt debug mode 2019-10-10 23:30:54 +00:00
lsan [LSan] Enable for SystemZ 2020-06-16 13:45:29 +02:00
msan [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
profile Revert "[InstrProfiling] Use !associated metadata for counters, data and values" 2020-06-10 02:32:50 -07:00
safestack compiler-rt: Rename .cc file in lib/{interception/tests,safestack} to .cpp 2019-08-01 13:56:52 +00:00
sanitizer_common Add option to symbolize inline frames for InternalSymbolizer 2020-06-23 19:56:53 -07:00
scudo [scudo][standalone] Allow Primary allocations to fail up multiple times. 2020-06-18 11:46:39 -07:00
stats compiler-rt: Rename .cc file in lib/{dfsan,stats,ubsan_minimal} to .cpp 2019-08-01 12:41:23 +00:00
tsan [TSan] Revert removal of ignore_interceptors_accesses flag 2020-06-08 12:35:43 -07:00
ubsan [compile-rt] Reduce #ifdef noise for ptrauth 2020-05-11 09:47:21 -07:00
ubsan_minimal compiler-rt: Rename .cc file in lib/{dfsan,stats,ubsan_minimal} to .cpp 2019-08-01 12:41:23 +00:00
xray [xray] Option to omit the function index 2020-06-17 13:49:01 -04:00
CMakeLists.txt scudo: Add support for diagnosing memory errors when memory tagging is enabled. 2020-04-17 17:26:30 -07:00