[PATCH] D137044: [ClangFE] Add support for option -mno-pic-data-is-text-relative

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 1 19:10:22 PDT 2022


MaskRay added a comment.

Can you describe the motivation adding this option? Is it for a FDPIC ABI? Removing the assumption that text and data has a constant offset generally make the code worse for data access. This is almost assuredly a bad idea if the system has a memory management unit.


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

https://reviews.llvm.org/D137044



More information about the llvm-commits mailing list