[llvm-branch-commits] [compiler-rt-branch] r270360 - Merging r262581:
Daniel Sanders via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun May 22 07:15:00 PDT 2016
Author: dsanders
Date: Sun May 22 09:14:59 2016
New Revision: 270360
URL: http://llvm.org/viewvc/llvm-project?rev=270360&view=rev
Log:
Merging r262581:
------------------------------------------------------------------------
r262581 | mohit.bhakkad | 2016-03-03 05:05:20 +0000 (Thu, 03 Mar 2016) | 7 lines
[LSan] Enable use_registers test for MIPS
Reviewers: samsonov
Subscribers: jaydeep, sagar, llvm-commits
Differential Revision: http://reviews.llvm.org/D17797
------------------------------------------------------------------------
Modified:
compiler-rt/branches/release_38/test/lsan/TestCases/use_registers.cc
Modified: compiler-rt/branches/release_38/test/lsan/TestCases/use_registers.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_38/test/lsan/TestCases/use_registers.cc?rev=270360&r1=270359&r2=270360&view=diff
==============================================================================
--- compiler-rt/branches/release_38/test/lsan/TestCases/use_registers.cc (original)
+++ compiler-rt/branches/release_38/test/lsan/TestCases/use_registers.cc Sun May 22 09:14:59 2016
@@ -27,6 +27,11 @@ void *registers_thread_func(void *arg) {
:
: "r" (p)
);
+#elif defined(__mips__)
+ asm ( "move $16, %0"
+ :
+ : "r" (p)
+ );
#else
#error "Test is not supported on this architecture."
#endif
More information about the llvm-branch-commits
mailing list