[PATCH] D32038: Object, LTO: Add target triple to irsymtab and LTO API.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 12:03:40 PDT 2017


pcc created this revision.
Herald added subscribers: inglorion, mehdi_amini.

Start using it in LLD to avoid needing to read bitcode again just to get the
target triple, and in llvm-lto2 to avoid printing symbol table information
that is inappropriate for the target.


https://reviews.llvm.org/D32038

Files:
  lld/COFF/InputFiles.cpp
  lld/ELF/InputFiles.cpp
  lld/ELF/InputFiles.h
  llvm/include/llvm/LTO/LTO.h
  llvm/include/llvm/Object/IRSymtab.h
  llvm/lib/LTO/LTO.cpp
  llvm/lib/Object/IRSymtab.cpp
  llvm/test/LTO/Resolution/X86/symtab-elf.ll
  llvm/test/LTO/Resolution/X86/symtab.ll
  llvm/tools/llvm-lto2/llvm-lto2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32038.95181.patch
Type: text/x-patch
Size: 10461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170413/5eba8368/attachment.bin>


More information about the llvm-commits mailing list