mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-04 23:19:06 +00:00
[TSan] Fix asm token error
llvm-svn: 366131
This commit is contained in:
parent
c4f245b40a
commit
228f80d92d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user