summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/asm-errors.c
Commit message (Collapse)AuthorAgeFilesLines
* Restore slightly less dodgy diagnostic handler for inline asmTim Northover2016-04-061-2/+2
| | | | | | | | Turns out it was there mostly to prevent Clang asking people to report a bug. This time we report something to Clang's real diagnostics handler so that it exits with something approximating a real error and tidies up after itself. llvm-svn: 265592
* Diagnostics: remove dodgy handler for bitcode inlineasm diagnostics.Tim Northover2016-03-311-1/+1
| | | | | | | | Whatever crash it was there to present appears to have been fixed in the backend now, and it had the nasty side-effect of causing clang to exit(0) and leave a .o containing goodness knows what even when an error hit. llvm-svn: 265038
* Reenable asm-errors.cNico Weber2016-03-101-3/+2
| | | | | | | r134811 made the test pass and reenabled it, but r134831 accidentally disabled it again due to a bad merge. llvm-svn: 263168
* Add InlineAsmDiagnosticHandler for bitcode inputSteven Wu2015-02-121-0/+6
| | | | | | | | | | | | | | | | | | | | Summary: This patch installs an InlineAsmDiagnosticsHandler to avoid the crash report when the input is bitcode and the bitcode contains invalid inline assembly. The handler will simply print the same error message that will print from the backend. Add CHECK in test-case Reviewers: echristo, rafael Reviewed By: rafael Subscribers: rafael, cfe-commits Differential Revision: http://reviews.llvm.org/D7568 llvm-svn: 228898
* clang side to match the LLVM IR type system rewrite patch.Chris Lattner2011-07-091-2/+4
| | | | llvm-svn: 134831
* cc1 must initialize MC subtarget infos for inline asm parsing. Re-enable ↵Evan Cheng2011-07-091-4/+2
| | | | | | asm-errors.c llvm-svn: 134811
* disable this test to get the botz green again.Chris Lattner2011-07-091-2/+4
| | | | llvm-svn: 134808
* These tests require particular registered targets. Declared as such.Galina Kistanova2011-06-031-0/+1
| | | | llvm-svn: 132600
* Due to asmparser improvements, this error message is now betterChris Lattner2010-09-061-1/+1
| | | | llvm-svn: 113177
* Prevent these tests from dirtying the tree with output files that aren't evenChandler Carruth2010-08-061-1/+1
| | | | | | used for the test. llvm-svn: 110431
* add a testcase that the integrated assembler rejects, this verifies Chris Lattner2010-04-061-0/+8
that the integrated assembler is working. llvm-svn: 100545
OpenPOWER on IntegriCloud