[compiler-rt] r251379 - Attempt to fix asan's ptrace.cc on the clang-cmake-mips builder after r251331.

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 26 18:35:57 PDT 2015


Author: dsanders
Date: Mon Oct 26 20:35:57 2015
New Revision: 251379

URL: http://llvm.org/viewvc/llvm-project?rev=251379&view=rev
Log:
Attempt to fix asan's ptrace.cc on the clang-cmake-mips builder after r251331.

Modified:
    compiler-rt/trunk/test/asan/TestCases/Linux/ptrace.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/ptrace.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/ptrace.cc?rev=251379&r1=251378&r2=251379&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/ptrace.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/ptrace.cc Mon Oct 26 20:35:57 2015
@@ -43,7 +43,7 @@ typedef elf_fpregset_t fpregs_struct;
 #define PRINT_REG_FP(__fpregs)  printf ("%lx\n", (elf_greg_t)fpregs[32])
 #define ARCH_IOVEC_FOR_GETREGSET
 
-#elif defined(__mips64)
+#elif defined(__mips__)
 typedef struct pt_regs regs_struct;
 typedef elf_fpregset_t fpregs_struct;
 #define PRINT_REG_PC(__regs)    printf ("%lx\n", (unsigned long) (__regs.cp0_epc))




More information about the llvm-commits mailing list