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

Mohit Bhakkad via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 00:44:31 PST 2016


mohit.bhakkad created this revision.
mohit.bhakkad added reviewers: earthdok, kcc, samsonov.
mohit.bhakkad added subscribers: llvm-commits, jaydeep, sagar.
mohit.bhakkad set the repository for this revision to rL LLVM.

Repository:
  rL LLVM

http://reviews.llvm.org/D17797

Files:
  test/lsan/TestCases/use_registers.cc

Index: test/lsan/TestCases/use_registers.cc
===================================================================
--- test/lsan/TestCases/use_registers.cc
+++ 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.49587.patch
Type: text/x-patch
Size: 403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160302/a9de884c/attachment.bin>


More information about the llvm-commits mailing list