[PATCH] D64711: [LTO] Don't override relocation model stored in the module

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 14 21:38:00 PDT 2019


pcc added a reviewer: pcc.
pcc added a comment.

I'd like to understand the motivation behind this change a little better because the relaxation of the code model from PIC to static is technically an "optimization" that the linker should have license to perform and in fact is already performing in some ways (e.g. emitting addresses into the binary instead of RELATIVE/RELR relocations for statically known addresses).


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D64711





More information about the llvm-commits mailing list