[PATCH] D65032: [ELF] Support explicitly overriding relocation model in LTO

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 19 17:59:04 PDT 2019


pcc accepted this revision.
pcc added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lld/test/ELF/lto/relocation-model.ll:41
+
+; RUN: ld.lld %t.o -o %t-out -save-temps -r --export-dynamic --noinhibit-exec -mllvm -relocation-model=static
+; RUN: llvm-readobj -r %t-out.lto.o | FileCheck %s --check-prefix=STATIC
----------------
I think you shouldn't need the `--export-dynamic --noinhibit-exec` part here, maybe try removing them.


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D65032





More information about the llvm-commits mailing list