<div>Hi!</div><div><br></div><div>This patch improves the behavior of DebugInfoEntryMinimal::getSubprogramName() introduced in <span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">r159512.</span></div>
<div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">To fetch a subprogram name we should not only inspect the DIE for this subprogram, but optionally inspect</span></div>
<div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">its specification, or its abstract origin (even if there is no inlining), or even specification of an abstract origin.</span></div>
<div>New test case checks that llvm-dwarfdump is able to correctly detect function name in the latter case.</div><div><br></div><div>Code review: <a href="http://codereview.appspot.com/6409051/">http://codereview.appspot.com/6409051/</a></div>
<div><br></div>-- <br><div>Alexey Samsonov, MSK</div><br>