summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ELF/undefined-directional.s
Commit message (Collapse)AuthorAgeFilesLines
* AsmParser: record "# line file" context to calculate location for diagTim Northover2016-04-131-1/+4
| | | | | | | | | | | Since we can't emit diagnostics for missing "jmp 1f" labels until the end of the file, we need to be able to restore the context used to calculate file/line. This is basically the "# line file" directive that's being used at the time the expression is seen. rdar://25706972 llvm-svn: 266238
* MCParser: diagnose missing directional labels more clearly.Tim Northover2016-04-111-0/+9
Before, ELF at least managed a diagnostic but it was a completely untraceable "undefined symbol" error. MachO had a variety of even worse behaviours: crash, emit corrupt file, or an equally bad message. llvm-svn: 265984
OpenPOWER on IntegriCloud