[PATCH] D13729: [TSAN, PowerPC] Setjmp/longjmp handling for PowerPC
Bill Schmidt via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 27 09:29:04 PDT 2015
wschmidt added inline comments.
================
Comment at: lib/tsan/rtl/tsan_rtl_ppc64.S:23
@@ +22,3 @@
+ addis r2,r12,(.TOC.-_setjmp-8*4)@ha
+ addi r2,r2,(.TOC.-_setjmp-8*4)@l
+ // Call the interceptor.
----------------
It turns out that I won't be able to use this form, as older binutils versions do not recognize .TOC. as a true symbol. There is another way to do this: see https://sourceware.org/ml/binutils/2012-11/msg00055.html. I will have to use that method instead.
Repository:
rL LLVM
http://reviews.llvm.org/D13729
More information about the llvm-commits
mailing list