Add a method to the BitcodeReader to parse only the identification block
authorMehdi Amini <mehdi.amini@apple.com>
Mon, 9 Nov 2015 02:46:41 +0000 (02:46 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Mon, 9 Nov 2015 02:46:41 +0000 (02:46 +0000)
commitdd77c4496e00dee0cbc5a270e83095dca7853fff
tree81d5f1cb66e80d2a81129a314ed9d5b41ab9979a
parent503438e3f6d33d1d3dae69f6de202439a7145848
Add a method to the BitcodeReader to parse only the identification block

Summary: Mimic parseTriple(); and exposes it to LTOModule.cpp

Reviewers: dexonsmith, rafael

Subscribers: llvm-commits

From: Mehdi Amini <mehdi.amini@apple.com>

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