[compiler-rt] r234468 - [Compiler-rt][MIPS] Fix for asan test suite build on mips64/mips64el

Mohit K. Bhakkad mohit.bhakkad at gmail.com
Wed Apr 8 23:58:33 PDT 2015


Author: mohit.bhakkad
Date: Thu Apr  9 01:58:32 2015
New Revision: 234468

URL: http://llvm.org/viewvc/llvm-project?rev=234468&view=rev
Log:
[Compiler-rt][MIPS] Fix for asan test suite build on mips64/mips64el
Patch by Sagar Thakur

Reviewers: dsanders

Modified:
    compiler-rt/trunk/lib/asan/tests/asan_test.cc

Modified: compiler-rt/trunk/lib/asan/tests/asan_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?rev=234468&r1=234467&r2=234468&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_test.cc Thu Apr  9 01:58:32 2015
@@ -593,7 +593,8 @@ NOINLINE void SigLongJmpFunc1(sigjmp_buf
 
 #if !defined(__ANDROID__) && !defined(__arm__) && \
     !defined(__powerpc64__) && !defined(__powerpc__) && \
-    !defined(__aarch64__)
+    !defined(__aarch64__) && !defined(__mips__) && \
+    !defined(__mips64)
 NOINLINE void BuiltinLongJmpFunc1(jmp_buf buf) {
   // create three red zones for these two stack objects.
   int a;
@@ -616,7 +617,8 @@ TEST(AddressSanitizer, BuiltinLongJmpTes
   }
 }
 #endif  // !defined(__ANDROID__) && !defined(__powerpc64__) &&
-        // !defined(__powerpc__) && !defined(__arm__)
+        // !defined(__powerpc__) && !defined(__arm__) &&
+        // !defined(__mips__) && !defined(__mips64)
 
 TEST(AddressSanitizer, UnderscopeLongJmpTest) {
   static jmp_buf buf;





More information about the llvm-commits mailing list