[Lldb-commits] [lldb] [lldb] Use `Address` to setup breakpoint (PR #94794)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 26 09:40:13 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"));
- }
-
+ GetRuntimeModuleSP(), process_sp,
+ ConstString("sanitizers_address_on_report"));
----------------
clayborg wrote:
This doesn't look right. Is this left over from the older code? Remove this?
https://github.com/llvm/llvm-project/pull/94794
More information about the lldb-commits
mailing list