1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/tools/lto
Peter Collingbourne 3a8f902dd8 Bitcode: Clean up error handling for certain bitcode query functions.
The functions getBitcodeTargetTriple(), isBitcodeContainingObjCCategory(),
getBitcodeProducerString() and hasGlobalValueSummary() now return errors
via their return value rather than via the diagnostic handler.

To make this work, re-implement these functions using non-member functions
so that they can be used without the LLVMContext required by BitcodeReader.

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

llvm-svn: 286623
2016-11-11 19:50:24 +00:00
..
CMakeLists.txt Fix libdeps in r275125. LTO tools require BitReader. 2016-07-12 03:01:22 +00:00
lto.cpp Bitcode: Clean up error handling for certain bitcode query functions. 2016-11-11 19:50:24 +00:00
lto.exports
LTODisassembler.cpp