[PATCH] D33372: Infer relocation model from module flags in relocatable LTO link
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 19 17:29:00 PDT 2017
eugenis added a comment.
LLD fix coming in a separate patch.
I've opted not to change current behavior for shared and executable linking, but now I'm having second thoughts. Non-LTO pipeline allows the user to put PIC code in a non-PIE executable, or non-PIC code in a shared library if they wish so. Maybe we should completely ignore the output type here and strictly go by module flags, to be consistent.
Repository:
rL LLVM
https://reviews.llvm.org/D33372
More information about the llvm-commits
mailing list