[TSan] Fix compiler error on Linux/AArch64

llvm-svn: 365693
This commit is contained in:
Julian Lettner 2019-07-10 19:46:08 +00:00
parent c23bc97e85
commit 098e0a79fa
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ DECLARE_REAL(int, _setjmp, void* env)
static void InitializeLongjmpXorKey() {
// 1. Call REAL(setjmp), which stores the mangled SP in env.
jmp_buf env;
REAL(setjmp)(env);
REAL(_setjmp)(env);
// 2. Retrieve mangled/vanilla SP.
uptr mangled_sp = ((uptr *)&env)[LONG_JMP_SP_ENV_SLOT];