[TSan] Fix asm token error

llvm-svn: 366131
This commit is contained in:
Julian Lettner 2019-07-15 21:22:57 +00:00
parent c4f245b40a
commit 228f80d92d

View File

@ -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.