summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcTargetMachine.h
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2016-09-12 20:03:02 +0000
committerNirav Dave <niravd@google.com>2016-09-12 20:03:02 +0000
commitc0c0f7a1966c7432ca1b0a5ce78e568cefec1e00 (patch)
tree9d606ae2788f17ba0eba283c1e8e3b81483a0dd3 /llvm/lib/Target/Sparc/SparcTargetMachine.h
parentdea26950a020bfb65aeedcc5d2afaa574adbedbb (diff)
downloadbcm5719-llvm-c0c0f7a1966c7432ca1b0a5ce78e568cefec1e00.tar.gz
bcm5719-llvm-c0c0f7a1966c7432ca1b0a5ce78e568cefec1e00.zip
[MC] Defer asm errors to post-statement failure
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: 281249
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcTargetMachine.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud