summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AsmParser/macros-gas.s
Commit message (Collapse)AuthorAgeFilesLines
* [MC] Fixed parsing of macro arguments where expressions with spaces are present.Scott Egerton2016-02-111-2/+2
| | | | | | | | | | | | | | | Summary: Fixed an issue for mips with an instruction such as 'sdc1 $f1, 272 +8(a0)' which has a space between '272' and '+'. The parser would then parse '272' and '+8' as two arguments instead of a single expression resulting in one too many arguments in the pseudo instruction. The reason that the test case has been changed is so that the expected output matches the output of the GNU assembler. Reviewers: vkalintiris, dsanders Subscribers: dsanders, llvm-commits Differential Revision: http://reviews.llvm.org/D13592 llvm-svn: 260521
* AsmParser: Disable Darwin-style macro argument expansion on non-darwin targets.Benjamin Kramer2014-02-201-0/+12
| | | | | | There is code in the wild that relies on $0 not being expanded. llvm-svn: 201784
* MC: Better management of macro argumentsDavid Majnemer2014-01-291-14/+14
| | | | | | | | | | | | The linux kernel makes uses of a GAS `feature' which substitutes nothing for macro arguments which aren't specified. Proper support for these kind of macro arguments necessitated a cleanup of differences between `GAS' and `Darwin' dialect macro processing. Differential Revision: http://llvm-reviews.chandlerc.com/D2634 llvm-svn: 200409
* MC: Reorganize macro MC test along dialect linesDavid Majnemer2014-01-291-0/+93
This commit seeks to do two things: - Run the surfeit of tests under the Darwin dialect. This ends up affecting tests which assumed that spaces could deliminate arguments. - The GAS dialect tests should limit their surface area to things that could plausibly work under GAS. For example, Darwin style arguments have no business being in such a test. llvm-svn: 200383
OpenPOWER on IntegriCloud