[compiler-rt] [llvm] [msan] Add experimental '-mllvm -msan-embed-faulting-instruction' and MSAN_OPTIONS=print_faulting_instruction (PR #136539)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 22 15:40:26 PDT 2025


================
@@ -352,10 +352,46 @@ void __sanitizer::BufferedStackTrace::UnwindImpl(
 
 using namespace __msan;
 
+static inline void PrintFaultingInstruction(char *instname) {
----------------
fmayer wrote:

what about the other part of my comment? i think it is a bit confusing that a function that says `PrintSomething` is actually conditional

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


More information about the llvm-commits mailing list