[compiler-rt] [compiler-rt][rtsan] Record pc and bp higher up in the stack (PR #107014)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 3 01:20:39 PDT 2024


================
@@ -85,12 +89,13 @@ bool __rtsan::Context::InRealtimeContext() const { return realtime_depth_ > 0; }
 
 bool __rtsan::Context::IsBypassed() const { return bypass_depth_ > 0; }
 
-void __rtsan::PrintDiagnostics(const char *intercepted_function_name) {
+void __rtsan::PrintDiagnostics(const char *intercepted_function_name, uptr pc,
----------------
davidtrevelyan wrote:

OK cool, if that's the style throughout the rest of the codebase I think it's important to be consistent with that. Thanks!


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


More information about the llvm-commits mailing list