]> granicus.if.org Git - llvm/commit
Object, LTO: Add target triple to irsymtab and LTO API.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 14 Apr 2017 02:55:06 +0000 (02:55 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 14 Apr 2017 02:55:06 +0000 (02:55 +0000)
commita9b9e013db83ae7d51bd7de4934a2ea246bab445
tree90a75c88048a56d5cc5e176a4687d1753582a3c5
parentc432779417b48cfb0f578c5e3d2ecbb6cd235fcb
Object, LTO: Add target triple to irsymtab and LTO API.

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.

Differential Revision: https://reviews.llvm.org/D32038

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300300 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/LTO/LTO.h
include/llvm/Object/IRSymtab.h
lib/LTO/LTO.cpp
lib/Object/IRSymtab.cpp
test/LTO/Resolution/X86/symtab-elf.ll [new file with mode: 0644]
test/LTO/Resolution/X86/symtab.ll
tools/llvm-lto2/llvm-lto2.cpp