forked from OSchip/llvm-project
[lldb] Use mangled symbol name to look for __asan::AsanDie()
After aed965d
we no longer demangle full symbol names while indexing the
symbol table which means we have to use the mangled name instead of the
demangled name to find the symbol for __asan::AsanDie().
This fixes the following two tests:
lldb-api :: functionalities/asan/TestMemoryHistory.py
lldb-api :: functionalities/asan/TestReportData.py
This commit is contained in:
parent
f2f4080c10
commit
ef3fade14b
|
@ -281,7 +281,7 @@ void InstrumentationRuntimeASan::Activate() {
|
|||
if (!process_sp)
|
||||
return;
|
||||
|
||||
ConstString symbol_name("__asan::AsanDie()");
|
||||
ConstString symbol_name("_ZN6__asanL7AsanDieEv");
|
||||
const Symbol *symbol = GetRuntimeModuleSP()->FindFirstSymbolWithNameAndType(
|
||||
symbol_name, eSymbolTypeCode);
|
||||
|
||||
|
|
Loading…
Reference in New Issue