summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/MachO/ARM/empty-function-nop.ll
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-readobj] Change -long-option to --long-option in tests. NFCFangrui Song2019-05-011-4/+4
| | | | | | | | | | We use both -long-option and --long-option in tests. Switch to --long-option for consistency. In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf. While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf). llvm-svn: 359649
* MachO: trap unreachable instructionsTim Northover2018-04-131-4/+4
| | | | | | | Debugability is more important than saving 4 bytes to let us to fall through to nonense. llvm-svn: 330073
* [MC] Convert another bunch of tests from macho-dump to llvm-readobj.Davide Italiano2015-08-181-8/+16
| | | | | | | | This is (almost) everything under MC/MachO/ARM. There are still some cases missing, because llvm-readobj doesn't (yet) support some features, that macho-dump provides. I plan to reduce the gap between them shortly. llvm-svn: 245302
* Fix flags for test in MC/MachO/ARM/empty-function-nop.llRichard Trieu2012-03-011-4/+4
| | | | llvm-svn: 151778
* ARM implement TargetInstrInfo::getNoopForMachoTarget()Jim Grosbach2012-02-281-0/+15
Without this hook, functions w/ a completely empty body (including no epilogue) will cause an MCEmitter assertion failure. For example, define internal fastcc void @empty_function() { unreachable } rdar://10947471 llvm-svn: 151673
OpenPOWER on IntegriCloud