<div dir="ltr">btw, there's no need to file a bug as you're providing a fix - feel free to skip the overhead and just provide the patch & skip the bug<br><br>The only real reason to file a bug in the open source tracker is if you want someone else to look at/work on it/know you are working on it before you've sent out a patch, etc.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 1:15 PM, David Blaikie via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">dblaikie added inline comments.<br>
<br>
================<br>
Comment at: test/DebugInfo/Generic/discriminator.ll:11<br>
@@ +10,3 @@<br>
+;<br>
+;static void bar() { abc(); }<br>
+;static void baz() { xyz(); }<br>
----------------<br>
perhaps write these with __attribute__((always_inline)) so you can build the example without running the full optimization pipeline & still get the desired code.<br>
<br>
Do you need two different inline functions or two different destination functions? (maybe it makes the example simpler/more obvious, which is fair - but it could just be two of the same)<br>
<br>
================<br>
Comment at: test/DebugInfo/Generic/discriminator.ll:14<br>
@@ +13,3 @@<br>
+;<br>
+;void foo(int i) {<br>
+;  bar(); baz();<br>
----------------<br>
I assume this function doesn't need a parameter<br>
<br>
<br>
<a href="http://reviews.llvm.org/D14511" rel="noreferrer" target="_blank">http://reviews.llvm.org/D14511</a><br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>