[PATCH] D44407: [DebugInfo] Add a new method IPDBSession::findLineNumbersBySectOffset
Aaron Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 12 18:07:06 PDT 2018
asmith created this revision.
asmith added reviewers: zturner, rnk, llvm-commits.
Herald added a subscriber: JDevlieghere.
Some PDB symbols do not have a valid VA or RVA but have Addr by Section and Offset. This change is intended to provide a new method to locate line numbers by Section and Offset from those symbols.
For example, a variable in thread-local storage has the following properties:
get_addressOffset: 0
get_addressSection: 5
get_lexicalParentId: 2
get_name: g_tls
get_symIndexId: 12
get_typeId: 4
get_dataKind: 6
get_symTag: 7
get_locationType: 2
Repository:
rL LLVM
https://reviews.llvm.org/D44407
Files:
include/llvm/DebugInfo/PDB/DIA/DIASession.h
include/llvm/DebugInfo/PDB/IPDBSession.h
include/llvm/DebugInfo/PDB/Native/NativeSession.h
lib/DebugInfo/PDB/DIA/DIASession.cpp
lib/DebugInfo/PDB/Native/NativeSession.cpp
unittests/DebugInfo/PDB/PDBApiTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44407.138117.patch
Type: text/x-patch
Size: 5087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180313/9e84a019/attachment.bin>
More information about the llvm-commits
mailing list