1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/lib
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
..
Analysis IR: Introduce inrange attribute on getelementptr indices. 2016-11-10 22:34:55 +00:00
AsmParser IR: Introduce inrange attribute on getelementptr indices. 2016-11-10 22:34:55 +00:00
Bitcode Bitcode: Clean up error handling for certain bitcode query functions. 2016-11-11 19:50:24 +00:00
CodeGen Revert "Use private linkage for MergedGlobals variables" on Darwin. 2016-11-11 17:50:09 +00:00
DebugInfo Fixed issues found by Paul Robinson with my patch for: 2016-11-11 17:38:14 +00:00
Demangle
ExecutionEngine [ORC] Revert r286620 while I investigate a bot failure. 2016-11-11 19:46:46 +00:00
Fuzzer [libFuzzer] fix -error_exitcode=N, now with a test 2016-11-03 19:31:18 +00:00
IR Split Bitcode/ReaderWriter.h into separate reader and writer headers 2016-11-11 05:34:58 +00:00
IRReader Split Bitcode/ReaderWriter.h into separate reader and writer headers 2016-11-11 05:34:58 +00:00
LibDriver
LineEditor
Linker Bitcode: Change the materializer interface to return llvm::Error. 2016-11-09 17:49:19 +00:00
LTO Bitcode: Clean up error handling for certain bitcode query functions. 2016-11-11 19:50:24 +00:00
MC Fix 24560: assembler does not share constant pool for same constants 2016-11-04 19:17:32 +00:00
Object Bitcode: Clean up error handling for certain bitcode query functions. 2016-11-11 19:50:24 +00:00
ObjectYAML Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 16:43:50 +00:00
Option
Passes Conditionally eliminate library calls where the result value is not used 2016-10-18 21:36:27 +00:00
ProfileData Make the Error class constructor protected 2016-11-11 04:28:40 +00:00
Support Timer: Remove group-less NamedRegionTimer constructor. 2016-11-10 23:36:44 +00:00
TableGen
Target [AArch64] Fix bugs in isel lowering replaceSplatVectorStore. 2016-11-11 19:25:20 +00:00
Transforms [sancov] Don't instrument MSVC CRT stdio config helpers 2016-11-11 19:18:45 +00:00
CMakeLists.txt
LLVMBuild.txt