[PATCH] [MSan] [MIPS] Adding support for MIPS64

Evgeniy Stepanov eugenis at google.com
Thu Nov 13 12:34:15 PST 2014


================
Comment at: lib/msan/msan_report.cc:56
@@ -55,2 +55,3 @@
     // of the first instruction.
-    pc += 1;
+    #if defined(__x86_64__)
+      pc += 1;
----------------
samsonov wrote:
> Evgeniy, do we know the reason why this adjustment is needed? Looks like we'd have to use the inverse of StackTrace::GetPreviousInstructionPc() here.
No. I'd like to know why :)

http://reviews.llvm.org/D5906






More information about the llvm-commits mailing list