[cfe-commits] r100493 - /cfe/trunk/tools/driver/cc1_main.cpp
Douglas Gregor
dgregor at apple.com
Tue Apr 6 12:00:46 PDT 2010
On Apr 6, 2010, at 11:57 AM, Chris Lattner wrote:
>
> On Apr 6, 2010, at 11:53 AM, Douglas Gregor wrote:
>
>>>
>>> The problem is that the errors complain about "<inline asm>:1:2" which -verify doesn't handle yet. I'm adding a "asm generated from here" line pointing back to the original .c file next.
>>
>> Is the <inline asm> a temporary thing? It seems like we should be able to map from source locations inside the inline asm back to real locations in the original .c file.
>
> "I'm adding a "asm generated from here" line pointing back to the original .c file next."
>
> :-)
Yes, but why the two-step with an error + note pointing back into the .c file, rather than just mapping the location of the error and having a single diagnostic?
- Doug
More information about the cfe-commits
mailing list