[PATCH] D13729: [TSAN, PowerPC] Setjmp/longjmp handling for PowerPC

Bill Schmidt via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 10 08:13:16 PST 2015


wschmidt added a comment.

Simone, thanks for confirming.  I've discussed this with one of our ABI experts.  For BE, we are going to have to do something pretty ugly, I'm afraid.  We'll likely need a trampoline to a separate function so that the linker will create an OPD from which we can load the TOC.  But we'll still need to keep the link register clean along that path, which could be a little tricky.

The question is whether we want to go to all this trouble, or whether we should just enable TSAN for little endian.  LE is the path going forward.  Do you know whether LLNL has a need to support TSAN on big-endian systems?  If not, I might advocate to just drop big-endian support for TSAN.


Repository:
  rL LLVM

http://reviews.llvm.org/D13729





More information about the llvm-commits mailing list