[PATCH] D130531: [IR] Use Min behavior for module flag "PIC Level"
Arthur Eubanks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 12 14:36:33 PDT 2023
aeubanks added a comment.
I'm not understanding why this doesn't also apply to "PIE Level", doesn't it also follow the same reasoning? pic -> PIC is the same as pie -> PIE
e.g. if you merge a small PIC and large PIC file, the resulting file would only be guaranteed to work with a "large PIC executable" (unsure what the right term is) and not a "small PIC executable", so if we say it's a large PIC file, that's wrong since it wouldn't link into a "large PIC executable", so we have to conservatively say it's a small PIC file.
and s/PIC/PIE for the same argument
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130531/new/
https://reviews.llvm.org/D130531
More information about the cfe-commits
mailing list