llvm-project/llvm/lib/DebugInfo/PDB/DIA
Aaron Smith 40198f5905 [DebugInfo] Add a new method IPDBSession::findLineNumbersBySectOffset
Summary:
Some PDB symbols do not have a valid VA or RVA but have Addr by Section and Offset. 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

This change provides a new method to locate line numbers by Section and Offset from those symbols.

Reviewers: zturner, rnk, llvm-commits

Subscribers: asmith, JDevlieghere

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

llvm-svn: 327601
2018-03-15 06:04:51 +00:00
..
DIADataStream.cpp
DIAEnumDebugStreams.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
DIAEnumInjectedSources.cpp [PDB] Support dumping injected sources via the DIA reader. 2018-03-13 17:46:06 +00:00
DIAEnumLineNumbers.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
DIAEnumSourceFiles.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
DIAEnumSymbols.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
DIAEnumTables.cpp [DebugInfo/PDB] Adding getUndecoratedNameEx and IPDB interfaces for IDiaEnumTables and IDiaTable. 2017-11-16 14:33:09 +00:00
DIAError.cpp Remove LLVM_NOEXCEPT and replace it with noexcept 2016-10-19 23:52:38 +00:00
DIAInjectedSource.cpp [PDB] Support dumping injected sources via the DIA reader. 2018-03-13 17:46:06 +00:00
DIALineNumber.cpp
DIARawSymbol.cpp [DebugInfoPDB] Add DIA implementation for getSrcLineOnTypeDefn 2018-03-07 00:33:09 +00:00
DIASession.cpp [DebugInfo] Add a new method IPDBSession::findLineNumbersBySectOffset 2018-03-15 06:04:51 +00:00
DIASourceFile.cpp
DIATable.cpp Fix my typo of PDB_TableType 2017-11-16 19:41:12 +00:00