[lldb] Use mangled symbol name to look for __asan::AsanDie()
authorJonas Devlieghere <jonas@devlieghere.com>
Sat, 5 Feb 2022 17:48:14 +0000 (09:48 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Sat, 5 Feb 2022 17:50:31 +0000 (09:50 -0800)
commitef3fade14b32c20e0a35b8fca30e7d2f20e0c983
treec9c9757a9b596b4e20dd379d583d2222652009e3
parentf2f4080c10f4319adf75c660425911cd4e0e1843
[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
lldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.cpp