[compiler-rt] r366150 - [TSan] Fix asm token error (again)
Julian Lettner via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 16:05:14 PDT 2019
Author: yln
Date: Mon Jul 15 16:05:14 2019
New Revision: 366150
URL: http://llvm.org/viewvc/llvm-project?rev=366150&view=rev
Log:
[TSan] Fix asm token error (again)
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=366150&r1=366149&r2=366150&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 16:05:14 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