<div dir="ltr">I think it's a matter of this being the best of no great options available in DWARF, but I personally haven't given it a great deal of thought.<br><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 20, 2018 at 10:34 PM Alex Denisov via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi,<br><br>I see an issue with debug info and macro. Here is an example:<br><br><font face="Bitstream Vera Sans Mono">#define f(x) x<br>...<br>int a = f(b + c);<br>        ^</font><br><br>The debug information for each node in 'b + c' points to the 'f' (see the caret). I expect it to point to the actual source location.<br><br>I assume that is a known issue, but I could find neither explanation nor bug report.<br>Can somebody shed some light on the issue?<br><br>Cheers,<div>Alex.<br><br></div></div>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div></div>