summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/2010-06-17-asmcrash.c
Commit message (Collapse)AuthorAgeFilesLines
* Accept -no-integrated-as in -cc1 and forward it to llvm.Rafael Espindola2014-02-211-1/+1
| | | | llvm-svn: 201837
* Re-commit: Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove ↵Daniel Sanders2014-02-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hasRawTextSupport() call Summary: AsmPrinter::EmitInlineAsm() will no longer use the EmitRawText() call for targets with mature MC support. Such targets will always parse the inline assembly (even when emitting assembly). Targets without mature MC support continue to use EmitRawText() for assembly output. The hasRawTextSupport() check in AsmPrinter::EmitInlineAsm() has been replaced with MCAsmInfo::UseIntegratedAs which when true, causes the integrated assembler to parse inline assembly (even when emitting assembly output). UseIntegratedAs is set to true for targets that consider any failure to parse valid assembly to be a bug. Target specific subclasses generally enable the integrated assembler in their constructor. The default value can be overridden with -no-integrated-as. All tests that rely on inline assembly supporting invalid assembly (for example, those that use mnemonics such as 'foo' or 'hello world') have been updated to disable the integrated assembler. Changes since review (and last commit attempt): - Fixed test failures that were missed due to configuration of local build. (fixes crash.ll and a couple others). - Fixed tests that happened to pass because the local build was on X86 (should fix 2007-12-17-InvokeAsm.ll) - mature-mc-support.ll's should no longer require all targets to be compiled. (should fix ARM and PPC buildbots) - Object output (-filetype=obj and similar) now forces the integrated assembler to be enabled regardless of default setting or -no-integrated-as. (should fix SystemZ buildbots) Reviewers: rafael Reviewed By: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2686 llvm-svn: 201333
* Revert r201237+r201238: Demote EmitRawText call in ↵Daniel Sanders2014-02-121-2/+1
| | | | | | | | AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call It introduced multiple test failures in the buildbots. llvm-svn: 201241
* Arcanist failed to commit the two clang test corrections that should have ↵Daniel Sanders2014-02-121-1/+2
| | | | | | been in r201237. llvm-svn: 201238
* clang/test: REQUIRES: s/x86-64-registered-target/x86-registered-target/NAKAMURA Takumi2013-12-041-1/+1
| | | | llvm-svn: 196350
* These tests require an actual x86 registered target, so mark them as such. ↵David Tweed2012-10-261-0/+1
| | | | | | | | Tested on ARM. Patch by Joey Gouly. llvm-svn: 166765
* tests: Fix two tests to just use -triple instead of XFAIL+XTARGET.Daniel Dunbar2012-10-191-3/+1
| | | | llvm-svn: 166304
* Migrate most of the rest of test/FrontendC from llvm and migrateEric Christopher2011-07-261-0/+16
most of them to FileCheck. llvm-svn: 136159
OpenPOWER on IntegriCloud