summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AsmParser/exprs-invalid.s
Commit message (Collapse)AuthorAgeFilesLines
* [X86] Fix test/MC/AsmParser/exprs-invalid.s after rL336104Alex Bradbury2018-07-021-1/+1
| | | | | | | | This was my mistake for only running test/MC/X86 and test/CodeGen/X86. Arguably .word should be removed from this test, as it is not supported universally. llvm-svn: 336107
* [MC] Fix Various End Of Line Comment checkingsNirav Dave2016-10-241-5/+5
| | | | | | | | | | | | | Fix AsmParser lines to correctly handle end-of-line pre-processor comments parsing when '#' is not the assembly line comment prefix. Reviewers: rnk Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25567 llvm-svn: 284978
* [MC] Don't crash when .word is given bogus valuesDavid Majnemer2015-10-261-0/+3
| | | | | | | | | | We didn't validate that the .word directive was given a sane value, leading to crashes when we attempt to write out the object file. Instead, perform some validation and issue a diagnostic pointing at the start of the diagnostic. llvm-svn: 251270
* Asm parser range checking on .<size> <value> directives.Jim Grosbach2011-06-291-0/+6
| | | | | | | | | For example, ".byte 256" would previously assert() when emitting an object file. Now it generates a diagnostic that the literal value is out of range. rdar://9686950 llvm-svn: 134069
* Match case for invalid constant error messages and add a newEric Christopher2011-04-121-1/+4
| | | | | | test for invalid hexadecimals. llvm-svn: 129326
* Test for invalid constant expr addition - bad octal constant.Eric Christopher2011-04-121-13/+5
| | | | llvm-svn: 129323
* llvm-mc: Pass values to MCStreamer as MCExprs, not MCValues.Daniel Dunbar2009-08-311-0/+5
| | | | llvm-svn: 80578
* llvm-mc: Fix a crash on invalid due to a typo in relocatable expressionDaniel Dunbar2009-08-111-0/+8
evaluation. llvm-svn: 78692
OpenPOWER on IntegriCloud