[compiler-rt] r366131 - [TSan] Fix asm token error
Julian Lettner via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 14:22:57 PDT 2019
Author: yln
Date: Mon Jul 15 14:22:57 2019
New Revision: 366131
URL: http://llvm.org/viewvc/llvm-project?rev=366131&view=rev
Log:
[TSan] Fix asm token error
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc?rev=366131&r1=366130&r2=366131&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc Mon Jul 15 14:22:57 2019
@@ -421,7 +421,7 @@ static void InitializeLongjmpXorKey() {
// 2. Retrieve vanilla/mangled SP.
uptr sp;
- asm("mov %0, %%sp" : "=r" (sp));
+ asm("mov %0, %sp" : "=r" (sp));
uptr mangled_sp = ((uptr *)&env)[LONG_JMP_SP_ENV_SLOT];
// 3. xor SPs to obtain key.
More information about the llvm-commits
mailing list