This is an archive of the discontinued LLVM Phabricator instance.

Object, LTO: Add target triple to irsymtab and LTO API.
ClosedPublic

Authored by pcc on Apr 13 2017, 12:03 PM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Apr 13 2017, 12:03 PM
pcc updated this revision to Diff 95258.Apr 13 2017, 7:45 PM
  • Remove an unused field
ruiu accepted this revision.Apr 13 2017, 7:53 PM

LGTM

This revision is now accepted and ready to land.Apr 13 2017, 7:53 PM
This revision was automatically updated to reflect the committed changes.