[PATCH] D28128: [asan] Fix test broken by r290540
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 27 11:45:44 PST 2016
vitalybuka created this revision.
vitalybuka added reviewers: ahatanak, eugenis, myatsina.
vitalybuka added subscribers: llvm-commits, zizhar.
Herald added a subscriber: kubabrecka.
https://reviews.llvm.org/D28128
Files:
lib/asan/tests/asan_asm_test.cc
Index: lib/asan/tests/asan_asm_test.cc
===================================================================
--- lib/asan/tests/asan_asm_test.cc
+++ lib/asan/tests/asan_asm_test.cc
@@ -99,12 +99,13 @@
return res; \
}
-#define DECLARE_ASM_REP_MOVS(Type, Movs) \
- template <> void asm_rep_movs<Type>(Type * dst, Type * src, size_t size) { \
- __asm__("rep " Movs " \n\t" \
- : \
- : "D"(dst), "S"(src), "c"(size) \
- : "memory"); \
+#define DECLARE_ASM_REP_MOVS(Type, Movs) \
+ template <> \
+ void asm_rep_movs<Type>(Type * dst, Type * src, size_t size) { \
+ __asm__("rep " Movs " \n\t" \
+ : "+D"(dst), "+S"(src), "+c"(size) \
+ : \
+ : "memory"); \
}
} // End of anonymous namespace
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28128.82556.patch
Type: text/x-patch
Size: 1245 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161227/33b8776e/attachment.bin>
More information about the llvm-commits
mailing list