llvm-project/llvm/lib/DebugInfo/Symbolize
David Blaikie efc4eba816 Get function start line number from DWARF info
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.

Patch by Simon Que!

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D27962

llvm-svn: 294231
2017-02-06 20:19:02 +00:00
..
CMakeLists.txt [LLVMSymbolize] Factor out the logic for printing structs from DIContext. NFC. 2015-11-03 22:20:52 +00:00
DIPrinter.cpp Get function start line number from DWARF info 2017-02-06 20:19:02 +00:00
LLVMBuild.txt
SymbolizableObjectFile.cpp Prune RelocVisitor.h include to avoid including COFF.h from MCJIT.h 2016-07-06 16:56:42 +00:00
SymbolizableObjectFile.h [Symbolizer] Don't use PE symbol tables to override PDB symbols 2015-11-13 17:00:36 +00:00
Symbolize.cpp Fix the ASan fuse-lld.cc test after LLD r280012 2016-09-01 20:28:59 +00:00