[PATCH] D42112: [PowerPC] Secure PLT support

Justin Hibbits via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 10:03:28 PST 2018


jhibbits added inline comments.


================
Comment at: test/CodeGen/PowerPC/secure-plt.ll:37
+; SECURE-PLT: bl bar at PLT+32768
+; NO-SECURE-PLT-NOT: addis 30, 30, .LTOC-.L0$pb at ha
+; NO-SECURE-PLT-NOT: addi 30, 30, .LTOC-.L0$pb at l
----------------
Instead of providing this as NO-SECURE-PLT-NOT, such that you're saying it's *not* generating secure PLT, can you instead check for BSS-PLT, and use the BSS PLT asm?  You could put this in the already existing ppc32-pic.ll and ppc32-pic-large.ll


Repository:
  rL LLVM

https://reviews.llvm.org/D42112





More information about the llvm-commits mailing list