1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/llvm-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
llvm-lto.cpp Bitcode: Clean up error handling for certain bitcode query functions. 2016-11-11 19:50:24 +00:00
LLVMBuild.txt Fix library dependency for llvm-lto after r262977 2016-03-09 02:34:13 +00:00