[PATCH] D27962: Get function start line number from DWARF info

Eric Christopher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 17:47:02 PST 2017


echristo added a comment.

In https://reviews.llvm.org/D27962#649067, @sque wrote:

> In https://reviews.llvm.org/D27962#649064, @sque wrote:
>
> > Print start line in DIPrinter, used by LLVM Symbolizer
>
>
> Example output:
>
> sque at sq:~/code/llvm-build $  bin/llvm-symbolizer -obj=bin/llvm-symbolizer
> 0x406f1f
>  bool error<llvm::DILineInfo>(llvm::Expected<llvm::DILineInfo>&)
>  /usr/local/google/home/sque/code/llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp:89:0
>  Start line: 89


Hrm. But it already had the line above?


https://reviews.llvm.org/D27962





More information about the llvm-commits mailing list