[PATCH] D17797: [LSan] Enable use_registers test for MIPS

Mohit Bhakkad via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 21:10:15 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL262581: [LSan] Enable use_registers test for MIPS (authored by mohit.bhakkad).

Changed prior to commit:
  http://reviews.llvm.org/D17797?vs=49587&id=49705#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D17797

Files:
  compiler-rt/trunk/test/lsan/TestCases/use_registers.cc

Index: compiler-rt/trunk/test/lsan/TestCases/use_registers.cc
===================================================================
--- compiler-rt/trunk/test/lsan/TestCases/use_registers.cc
+++ compiler-rt/trunk/test/lsan/TestCases/use_registers.cc
@@ -27,6 +27,11 @@
       :
       : "r" (p)
       );
+#elif defined(__mips__)
+  asm ( "move $16, %0"
+      :
+      : "r" (p)
+      );
 #else
 #error "Test is not supported on this architecture."
 #endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17797.49705.patch
Type: text/x-patch
Size: 457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160303/2fd1a0f3/attachment.bin>


More information about the llvm-commits mailing list