[PATCH] [ASan][MIPS] Fix some tests failing on MIPS64

Alexey Samsonov vonosmas at gmail.com
Fri Apr 24 11:22:13 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:1001
@@ -1000,3 +1000,3 @@
   ucontext_t *ucontext = (ucontext_t*)context;
-  *pc = ucontext->uc_mcontext.gregs[31];
+  *pc = ucontext->uc_mcontext.pc;
   *bp = ucontext->uc_mcontext.gregs[30];
----------------
This change is OK. Feel free to commit it in a separate change.

http://reviews.llvm.org/D9246

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list