diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-07 05:46:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-07 05:46:54 +0000 |
commit | fdb76ccfb492c82880ea2d1f7f3d06c8b4d445a1 (patch) | |
tree | d1d248b60ef6c0a6459ca31be7d2ea2575ff34b0 /llvm/lib | |
parent | 51065568cdf73f6b1deda6d271f43a1423b8b8fb (diff) | |
download | bcm5719-llvm-fdb76ccfb492c82880ea2d1f7f3d06c8b4d445a1.tar.gz bcm5719-llvm-fdb76ccfb492c82880ea2d1f7f3d06c8b4d445a1.zip |
a ridiculous amount of propagation through the backend later,
have the code generate slap a srcloc metadata on inline asm nodes.
This allows us to diagnose invalid inline asms with such nice
diagnostics as:
<inline asm>:1:2: error: unrecognized instruction
abc incl %eax
^
asm.c:2:12: note: generated from here
__asm__ ("abc incl %0" : "+r" (X));
^
2 diagnostics generated.
llvm-svn: 100608
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions