Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | AsmParser: record "# line file" context to calculate location for diag | Tim Northover | 2016-04-13 | 1 | -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 Northover | 2016-04-11 | 1 | -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 |