1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/lib
Renato Golin 8761d9ca19 [llc] New diagnostic handler
Without a diagnostic handler installed, llc's behaviour is to exit on the first
error that it encounters. This is very different from the behaviour of clang
and other front ends, which try to gather as many errors as possible before
exiting.

This commit adds a diagnostic handler to llc, allowing it to find and report
more than one error. The old behaviour is preserved under a flag (-exit-on-error).

Some of the tests fail with the new diagnostic handler, so they have to use the
new flag in order to run under the previous behaviour. Some of these are known
bugs, others need further investigation. Ideally, we should fix the tests and
remove the flag at some point in the future.

Reapplied after fixing the LLDB build that was broken due to the new
DiagnosticSeverity in LLVMContext.h, and fixed an UB in the new change.

Patch by Diana Picus.

llvm-svn: 269655
2016-05-16 14:28:02 +00:00
..
Analysis [LAA] Add option to disable conflict detection (NFC) 2016-05-16 14:14:49 +00:00
AsmParser Refactor duplicated code. NFC. 2016-05-12 12:37:52 +00:00
Bitcode ThinLTO: fix non-determinism in bitcode writing 2016-05-16 09:04:55 +00:00
CodeGen [codeview] Align class and print names of types 2016-05-13 19:37:07 +00:00
DebugInfo Move helper classes into anonymous namespaces. NFC. 2016-05-15 15:18:11 +00:00
ExecutionEngine [RuntimeDyld] Support R_390_PC64 relocation type 2016-05-13 17:23:48 +00:00
Fuzzer [libFuzzer] do the merge faster and a bit less precise 2016-05-13 22:11:23 +00:00
IR [llc] New diagnostic handler 2016-05-16 14:28:02 +00:00
IRReader Remove autoconf support 2016-01-26 21:29:08 +00:00
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
LineEditor Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
Linker Return a StringRef from getSection. 2016-05-11 18:21:59 +00:00
LTO ThinLTOCodeGenerator: fix race condition found using TSAN 2016-05-15 05:49:47 +00:00
MC [mips] Correct the ordering of HI/LO pairs in the relocation table. 2016-05-06 13:49:25 +00:00
Object Return a StringRef from getSection. 2016-05-11 18:21:59 +00:00
ObjectYAML [obj2yaml] [yaml2obj] Basic support for MachO::load_command 2016-05-13 17:41:41 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes Appease msc18 to move PassBuilder::crossRegisterProxies() in front of PassBuilder::parseModulePassPipeline(). 2016-05-16 10:13:37 +00:00
ProfileData Revert "Retry "[ProfileData] (llvm) Use Error in InstrProf and Coverage, NFC"" 2016-05-14 05:26:26 +00:00
Support Revert "Revert "Revert 220932.": "Removing the static initializer in ManagedStatic.cpp by using llvm_call_once to initialize the ManagedStatic mutex"" 2016-05-14 23:44:21 +00:00
TableGen [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Target Use proper capitalization and punctuation per coding standards. NFC. 2016-05-16 12:55:01 +00:00
Transforms [PM] RewriterStatepointForGC: add missing dependency. 2016-05-16 02:29:53 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00