[PATCH] D64092: [TSan] Improve handling of stack pointer mangling in {set,long}jmp, pt.8

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 11:41:33 PDT 2019


phosek added a comment.

Our bots started failing with the following build error after this change landed:

  /b/s/w/ir/k/llvm-project/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc:425:3: error: unknown type name 'jump_buf'; did you mean 'jmp_buf'?
    jump_buf env;
    ^~~~~~~~
    jmp_buf
  /b/s/w/ir/k/cipd/linux-arm64/usr/include/setjmp.h:48:30: note: 'jmp_buf' declared here
  typedef struct __jmp_buf_tag jmp_buf[1];
                               ^
  /b/s/w/ir/k/llvm-project/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc:426:3: error: use of undeclared identifier 'REAL'
    REAL(setjmp)(env);
    ^
  2 errors generated.

Is it possible to fix the issue or revert the change?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64092/new/

https://reviews.llvm.org/D64092





More information about the llvm-commits mailing list