[llvm-commits] [compiler-rt] r158312 - /compiler-rt/trunk/lib/interception/mach_override/mach_override.c

Alexander Potapenko glider at google.com
Mon Jun 11 08:38:07 PDT 2012


Author: glider
Date: Mon Jun 11 10:38:07 2012
New Revision: 158312

URL: http://llvm.org/viewvc/llvm-project?rev=158312&view=rev
Log:
Add test rdx, rdx to fix ASan tests on Mac OS 10.7 x64

Modified:
    compiler-rt/trunk/lib/interception/mach_override/mach_override.c

Modified: compiler-rt/trunk/lib/interception/mach_override/mach_override.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/interception/mach_override/mach_override.c?rev=158312&r1=158311&r2=158312&view=diff
==============================================================================
--- compiler-rt/trunk/lib/interception/mach_override/mach_override.c (original)
+++ compiler-rt/trunk/lib/interception/mach_override/mach_override.c Mon Jun 11 10:38:07 2012
@@ -718,6 +718,7 @@
         { 0x3, {0xFF, 0xFF, 0xFF}, {0x49, 0x89, 0xF8} },                   // mov %rdi,%r8        
         { 0x3, {0xFF, 0xFF, 0x00}, {0xFF, 0x77, 0x00} },  // pushq $imm(%rdi)
         { 0x2, {0xFF, 0xFF}, {0xDB, 0xE3} }, // fninit
+        { 0x3, {0xFF, 0xFF, 0xFF}, {0x48, 0x85, 0xD2} },  // test %rdx,%rdx
 	{ 0x0 }
 };
 #endif





More information about the llvm-commits mailing list