[PATCH] D24849: Make CanUseCopyRelocWithPIE a llc option, -pie-copy-relocations

Sriraman Tallam via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 11:41:30 PDT 2016


tmsriram retitled this revision from "Make CanUseCopyRelocWithPIE a llvm option, -pie-copy-relocations" to "Make CanUseCopyRelocWithPIE a llc option, -pie-copy-relocations".
tmsriram updated this revision to Diff 73313.
tmsriram added a comment.

- Removed cl::opt from library code
- Created MCTargetOptions member MCPIECopyRelocations instead.
- New llc command-line option -pie-copy-relocations to enable it.
- I will add a clang option separately to enable this.


https://reviews.llvm.org/D24849

Files:
  include/llvm/MC/MCTargetOptions.h
  include/llvm/MC/MCTargetOptionsCommandFlags.h
  lib/MC/MCTargetOptions.cpp
  lib/Target/TargetMachine.cpp
  test/CodeGen/X86/global-access-pie-copyrelocs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24849.73313.patch
Type: text/x-patch
Size: 6603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161003/31a6d128/attachment.bin>


More information about the llvm-commits mailing list