[PATCH] D27962: Get function start line number from DWARF info
Simon Que via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 19 17:06:54 PST 2016
sque created this revision.
sque added a reviewer: echristo.
sque added a subscriber: llvm-commits.
Herald added a subscriber: mehdi_amini.
DWARF info contains info about the line number at which a function starts (DW_AT_decl_line).
This patch creates a function to look up the start line number for a function, and returns it in
DILineInfo when looking up debug info for a particular address.
https://reviews.llvm.org/D27962
Files:
include/llvm/DebugInfo/DIContext.h
lib/DebugInfo/DWARF/DWARFContext.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27962.82045.patch
Type: text/x-patch
Size: 3998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161220/26d79b4c/attachment.bin>
More information about the llvm-commits
mailing list