llvm-project/llvm/test
Nirav Dave 9fa8af2180 Defer asm errors to post-statement failure
Recommitting after fixing AsmParser Initialization.

Allow errors to be deferred and emitted as part of clean up to simplify
and shorten Assembly parser code. This will allow error messages to be
emitted in helper functions and be modified by the caller which has
better context.

As part of this many minor cleanups to the Parser:

* Unify parser cleanup on error
* Add Workaround for incorrect return values in ParseDirective instances
* Tighten checks on error-signifying return values for parser functions
  and fix in-tree TargetParsers to be more consistent with the changes.
* Fix AArch64 test cases checking for spurious error messages that are
  now fixed.

These changes should be backwards compatible with current Target Parsers
so long as the error status are correctly returned in appropriate
functions.

Reviewers: rnk, majnemer

Subscribers: aemerson, jyknight, llvm-commits

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

llvm-svn: 281336
2016-09-13 13:55:06 +00:00
..
Analysis [Loop Vectorizer] Fixed memory confilict checks. 2016-08-28 08:53:53 +00:00
Assembler DebugInfo: New metadata representation for global variables. 2016-09-13 01:12:59 +00:00
Bindings
Bitcode DebugInfo: New metadata representation for global variables. 2016-09-13 01:12:59 +00:00
BugPoint
CodeGen Revert "[ARM] Promote small global constants to constant pools" 2016-09-13 12:45:51 +00:00
DebugInfo [ARM] Add ".code 32" to functions in the ARM instruction set 2016-09-13 12:18:15 +00:00
Demangle Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
Examples
ExecutionEngine [ORC] Clone module flags metadata into the globals module in the 2016-09-04 17:53:30 +00:00
Feature Revert "Revert "Invariant start/end intrinsics overloaded for address space"" 2016-08-13 23:31:24 +00:00
FileCheck
Instrumentation [asan] Add flag to allow lifetime analysis of problematic allocas 2016-09-10 01:06:11 +00:00
Integer
JitListener
LTO [LTO] Change addSaveTemps API: do not add dot to the supplied prefix path 2016-08-18 00:12:33 +00:00
LibDriver
Linker DebugInfo: New metadata representation for global variables. 2016-09-13 01:12:59 +00:00
MC Defer asm errors to post-statement failure 2016-09-13 13:55:06 +00:00
Object Next set of additional error checks for invalid Mach-O files for bad load commands 2016-08-31 17:57:46 +00:00
ObjectYAML [macho2yaml] Don't write empty linkedit data 2016-08-17 21:46:04 +00:00
Other [PM] Introduce basic update capabilities to the new PM's CGSCC pass 2016-08-24 09:37:14 +00:00
SymbolRewriter [PM] Port SymbolRewriter to the new PM 2016-07-25 20:52:00 +00:00
TableGen [TableGen] AsmMatcher: Add AsmVariantName to Instruction class. 2016-09-08 15:50:52 +00:00
ThinLTO/X86 DebugInfo: New metadata representation for global variables. 2016-09-13 01:12:59 +00:00
Transforms [InstSimplify] Add tests to show missed bitcast folding opportunities. 2016-09-13 13:17:42 +00:00
Unit
Verifier [coroutines] Part 4[ab]: Coroutine Devirtualization: Lower coro.resume and coro.destroy. 2016-08-04 20:30:07 +00:00
YAMLParser
tools [llvm-cov] - Included footer "Generated by llvm-cov -- llvm version <version number>" in the coverage report. 2016-09-13 11:28:31 +00:00
.clang-format
CMakeLists.txt Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
TestRunner.sh
lit.cfg Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
lit.site.cfg.in