[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 21 16:12:53 PDT 2016


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

- Replace getSymbolPlusOffset with an existing function that does the same thing


http://reviews.llvm.org/D17938

Files:
  include/llvm/Analysis/ConstantFolding.h
  include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
  include/llvm/Target/TargetLoweringObjectFile.h
  lib/Analysis/ConstantFolding.cpp
  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.51242.patch
Type: text/x-patch
Size: 16950 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160321/09df9d6a/attachment.bin>


More information about the llvm-commits mailing list