diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-06 18:38:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-06 18:38:50 +0000 |
commit | 5ec32e7fd845e0b7db33689f33cc2ef7c83710fa (patch) | |
tree | 316d2d28f5b5e83ec4aeb3da2606bac02e987f3a /llvm/lib/Transforms | |
parent | 6c61f4434ce4178b0139282e64f17927e12260aa (diff) | |
download | bcm5719-llvm-5ec32e7fd845e0b7db33689f33cc2ef7c83710fa.tar.gz bcm5719-llvm-5ec32e7fd845e0b7db33689f33cc2ef7c83710fa.zip |
teach clang to install the inline asm diagnostic handler,
allowing backend errors to be mapped through clang's
diagnostics subsystem, including the backend location info.
We now get:
$ clang asm.c -c -o t.o -integrated-as
<inline asm>:1:2: error: unrecognized instruction
abc incl %eax
^
1 diagnostic generated.
With colors, and correct "# diagnostics generated".
llvm-svn: 100543
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions