1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test
Oliver Stannard 90a74252e6 [Assembler] Allow non-fatal errors after parsing
This adds reportError to MCContext, which can be used as an alternative to
reportFatalError when the assembler wants to try to continue processing the
rest of the file after the error is reported, so that all of the errors ina
file can be reported. It records the fact that an error was encountered, so we
can avoid emitting an object file if any errors occurred.

This patch doesn't add any uses of this function (a later patch will convert
most uses of reportFatalError to use it), but there is a small functional
change: we use the SourceManager to print the error message, even if we have a
null SMLoc. This means that we get a SourceManager-style message, with the file
and line information shown as <unknown>, rather than the "LLVM ERROR" style
used by report_fatal_error.

llvm-svn: 253327
2015-11-17 09:58:07 +00:00
..
Analysis Revert "Revert "[FunctionAttrs] Identify norecurse functions"" 2015-11-12 10:55:20 +00:00
Assembler [IR] Add support for empty tokens 2015-11-11 21:57:16 +00:00
Bindings
Bitcode Sort the enums in Attributes.h in case insensitive alphabetical order. 2015-11-11 02:11:46 +00:00
BugPoint
CodeGen AVX512 : regenerate the test file against trunk. 2015-11-17 08:03:43 +00:00
DebugInfo dwarfdump: Use the index to find the right abbrev offset in DWP files 2015-11-17 00:39:55 +00:00
Examples
ExecutionEngine [RuntimeDyld] Add support for R_X86_64_PC8 relocation. 2015-11-08 19:34:17 +00:00
Feature
FileCheck
Instrumentation [ASan] Enable optional ASan recovery. 2015-11-11 10:36:49 +00:00
Integer
JitListener
LibDriver
Linker [ThinLTO] Update test to be more tolerant of ordering changes 2015-11-12 19:31:46 +00:00
LTO Add a libLTO diagnostic handler that supports lto_get_error_message API 2015-11-11 19:59:08 +00:00
MC [Assembler] Allow non-fatal errors after parsing 2015-11-17 09:58:07 +00:00
Object ELFYAML: Add support for parsing AMDGPU section attribute flags 2015-11-13 17:06:29 +00:00
Other
SymbolRewriter
TableGen
tools SamplePGO - Add dump routines for LineLocation, SampleRecord and FunctionSamples 2015-11-13 20:24:28 +00:00
Transforms [PRE] Preserve !invariant.load metadata 2015-11-17 00:15:09 +00:00
Unit
Verifier Introduce deoptimization operand bundles 2015-11-11 21:38:02 +00:00
YAMLParser
.clang-format
CMakeLists.txt sancov test suite 2015-11-12 19:34:21 +00:00
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh