[Lldb-commits] [lldb] [lldb] Use `Address` to setup breakpoint (PR #94794)

Julian Lettner via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 7 12:53:54 PDT 2024


================
@@ -90,17 +90,9 @@ void InstrumentationRuntimeASanLibsanitizers::Activate() {
   if (!process_sp)
     return;
 
-  lldb::ModuleSP module_sp = GetRuntimeModuleSP();
-
   Breakpoint *breakpoint = ReportRetriever::SetupBreakpoint(
-      module_sp, process_sp, ConstString("sanitizers_address_on_report"));
-
-  if (!breakpoint) {
-    breakpoint = ReportRetriever::SetupBreakpoint(
-        module_sp, process_sp,
-        ConstString("_Z22raise_sanitizers_error23sanitizer_error_context"));
----------------
yln wrote:

@usama54321 it's now safe to ignore the legacy symbol, right?

https://github.com/llvm/llvm-project/pull/94794


More information about the lldb-commits mailing list