diff options
| author | Zequan Wu <zequanwu@google.com> | 2022-02-10 18:18:59 -0800 |
|---|---|---|
| committer | Zequan Wu <zequanwu@google.com> | 2022-03-10 12:40:31 -0800 |
| commit | 5e9c9b324a1f7f904b733852d0a05a43e9783cbb (patch) | |
| tree | 365f4c16ea246fd973e5c6512a9f6f4d2c95167c /lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.h | |
| parent | 2f33f11428c1832a413d5ca617948ac5cc397385 (diff) | |
[LLDB][NativePDB] Add support for S_DEFRANGE_REGISTER and S_DEFRANGE_SUBFIELD_REGISTER
Differential Revision: https://reviews.llvm.org/D119508
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.h')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.h b/lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.h index 99da09b70fe1..1f948452ad28 100644 --- a/lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.h +++ b/lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.h @@ -10,6 +10,7 @@ #define LLDB_SOURCE_PLUGINS_SYMBOLFILE_NATIVEPDB_DWARFLOCATIONEXPRESSION_H #include "lldb/lldb-forward.h" +#include "llvm/ADT/ArrayRef.h" #include "llvm/DebugInfo/CodeView/CodeView.h" namespace llvm { @@ -39,6 +40,10 @@ DWARFExpression MakeGlobalLocationExpression(uint16_t section, uint32_t offset, DWARFExpression MakeConstantLocationExpression( llvm::codeview::TypeIndex underlying_ti, llvm::pdb::TpiStream &tpi, const llvm::APSInt &constant, lldb::ModuleSP module); +DWARFExpression MakeEnregisteredLocationExpressionForClass( + llvm::ArrayRef<std::pair<llvm::codeview::RegisterId, uint32_t>> + &members_info, + lldb::ModuleSP module); } // namespace npdb } // namespace lldb_private |
