aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp
diff options
context:
space:
mode:
authorDave MacLachlan <dmaclach@google.com>2023-03-06 15:47:13 -0800
committerVitaly Buka <vitalybuka@google.com>2023-03-06 16:37:45 -0800
commit28dc3aa7bc9f20f7f283663d63744ed4785a6e7b (patch)
treea78bc702220fecc2928a58d2ab6696599a1c5d76 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp
parentaa728ff754e9de91f20fca1e2847d69a81cccb75 (diff)
downloadllvm-28dc3aa7bc9f20f7f283663d63744ed4785a6e7b.zip
llvm-28dc3aa7bc9f20f7f283663d63744ed4785a6e7b.tar.gz
llvm-28dc3aa7bc9f20f7f283663d63744ed4785a6e7b.tar.bz2
[asan darwin] Allow clients to implement `__sanitizer_report_error_summary`
`__sanitizer_report_error_summary` is declared `llvm/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_interface_internal.h` as being able to be overridden by the client. On darwin the sanitizer runtime uses this symbol to find references to the sanitizer libraries, so if you override it you end up with the error `=ERROR: Interceptors are not working. This may be because AddressSanitizer is loaded too late (e.g. via dlopen). Please launch the executable with:` at launch time. Replace uses of `__sanitizer_report_error_summary` for finding the sanitizer libraries with using the address of a local function. Reviewed By: yln, vitalybuka Differential Revision: https://reviews.llvm.org/D144830
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions