Skip to content

Commit c48162d

Browse files
committed
[TSan] Fix asm token error (again)
llvm-svn: 366150
1 parent 1cf6922 commit c48162d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ static void InitializeLongjmpXorKey() {
421421

422422
// 2. Retrieve vanilla/mangled SP.
423423
uptr sp;
424-
asm("mov %0, %sp" : "=r" (sp));
424+
asm("mov %0, sp" : "=r" (sp));
425425
uptr mangled_sp = ((uptr *)&env)[LONG_JMP_SP_ENV_SLOT];
426426

427427
// 3. xor SPs to obtain key.

0 commit comments

Comments
 (0)