[PATCH] D33373: [lld] Infer relocation model from module flags in relocatable LTO link

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 19 17:46:50 PDT 2017


davide added inline comments.


================
Comment at: test/ELF/lto/relocation-model-pic.ll:3-6
+; RUN: cat %s >%t.pic.ll
+; RUN: echo '!llvm.module.flags = !{!0}' >>%t.pic.ll
+; RUN: echo '!0 = !{i32 1, !"PIC Level", i32 2}' >>%t.pic.ll
+
----------------
can't this be a separate input in living in `Inputs/` ?


Repository:
  rL LLVM

https://reviews.llvm.org/D33373





More information about the llvm-commits mailing list