[PATCH] D148034: [clang][driver] Disable GP relaxation with RISC-V ShadowCallStack

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 12 13:52:42 PDT 2023


craig.topper added a comment.

In D148034#4262938 <https://reviews.llvm.org/D148034#4262938>, @jrtc27 wrote:

> In D148034#4262934 <https://reviews.llvm.org/D148034#4262934>, @craig.topper wrote:
>
>> I'm not sure I want to suggest this, but could we disable the emission of the relocations that can be GP relaxed?
>
> That would also lose the ability to do x0-relative and LUI -> C.LUI relaxation... though given the former only has a simm12 field that's rather limited in use.

I assume x0-relative wouldn't be useful for Android/Linux since nothing should be mapped to the zero page.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148034



More information about the cfe-commits mailing list