Provide a fast "get me the target triple from the module" API. This can
authorBill Wendling <isanbard@gmail.com>
Wed, 6 Oct 2010 01:22:42 +0000 (01:22 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 6 Oct 2010 01:22:42 +0000 (01:22 +0000)
commit34711747a1d2c8713e69333bacef1c880810e371
tree0dc76a5863ab9848365c88c02692d7b730104c94
parent417b54354b3fcccb4f5919b8d2d9dcd8bba50069
Provide a fast "get me the target triple from the module" API. This can
drastically reduce the linking time during LTO.

Patch by Shantonu Sen!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115728 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/ReaderWriter.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Reader/BitcodeReader.h
tools/lto/LTOModule.cpp