[PATCH] D17938: CodeGen: Use PLT relocations for relative references to unnamed_addr functions.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 7 14:23:44 PST 2016


pcc updated this revision to Diff 49996.
pcc added a comment.

- Add test coverage for references to non-functions


http://reviews.llvm.org/D17938

Files:
  include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
  include/llvm/Target/TargetLoweringObjectFile.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  lib/Target/ARM/ARMTargetObjectFile.h
  lib/Target/X86/X86TargetObjectFile.cpp
  lib/Target/X86/X86TargetObjectFile.h
  test/CodeGen/ARM/plt-relative-reloc.ll
  test/CodeGen/X86/x86-64-plt-relative-reloc.ll
  test/CodeGen/X86/x86-plt-relative-reloc.ll
  test/MC/COFF/cross-section-relative.ll
  test/MC/MachO/AArch64/cstexpr-gotpcrel.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17938.49996.patch
Type: text/x-patch
Size: 15984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160307/a79ad7a0/attachment.bin>


More information about the llvm-commits mailing list