summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ELF/common-error1.s
Commit message (Collapse)AuthorAgeFilesLines
* [Assembler] Make fatal assembler errors non-fatalOliver Stannard2015-11-171-1/+1
| | | | | | | | | | | | | | Currently, if the assembler encounters an error after parsing (such as an out-of-range fixup), it reports this as a fatal error, and so stops after the first error. However, for most of these there is an obvious way to recover after emitting the error, such as emitting the fixup with a value of zero. This means that we can report on all of the errors in a file, not just the first one. MCContext::reportError records the fact that an error was encountered, so we won't actually emit an object file with the incorrect contents. Differential Revision: http://reviews.llvm.org/D14717 llvm-svn: 253328
* Produce errors when an assignment expression would use a common symbol.Rafael Espindola2015-01-191-0/+6
An assignment will produce a symbol with a given section and offset. There is no way to represent something like "1 byte after a common symbol". This matches the behavior of GNU as. Part of PR22217. llvm-svn: 226470
OpenPOWER on IntegriCloud