LLDB  mainline
DWARFLocationExpression.h
Go to the documentation of this file.
1 //===-- DWARFLocationExpression.h -------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_NATIVEPDB_DWARFLOCATIONEXPRESSION_H
10 #define LLDB_SOURCE_PLUGINS_SYMBOLFILE_NATIVEPDB_DWARFLOCATIONEXPRESSION_H
11 
12 #include "lldb/lldb-forward.h"
13 #include "llvm/DebugInfo/CodeView/CodeView.h"
14 
15 namespace llvm {
16 class APSInt;
17 class StringRef;
18 namespace codeview {
19 class TypeIndex;
20 }
21 namespace pdb {
22 class TpiStream;
23 }
24 } // namespace llvm
25 namespace lldb_private {
26 namespace npdb {
27 DWARFExpression
28 MakeEnregisteredLocationExpression(llvm::codeview::RegisterId reg,
29  lldb::ModuleSP module);
30 
31 DWARFExpression MakeRegRelLocationExpression(llvm::codeview::RegisterId reg,
32  int32_t offset,
33  lldb::ModuleSP module);
34 DWARFExpression MakeVFrameRelLocationExpression(llvm::StringRef fpo_program,
35  int32_t offset,
36  lldb::ModuleSP module);
37 DWARFExpression MakeGlobalLocationExpression(uint16_t section, uint32_t offset,
38  lldb::ModuleSP module);
39 DWARFExpression MakeConstantLocationExpression(
40  llvm::codeview::TypeIndex underlying_ti, llvm::pdb::TpiStream &tpi,
41  const llvm::APSInt &constant, lldb::ModuleSP module);
42 } // namespace npdb
43 } // namespace lldb_private
44 
45 #endif
lldb_private::npdb::MakeRegRelLocationExpression
DWARFExpression MakeRegRelLocationExpression(llvm::codeview::RegisterId reg, int32_t offset, lldb::ModuleSP module)
Definition: DWARFLocationExpression.cpp:166
llvm
Definition: Debugger.h:49
lldb_private::npdb::MakeGlobalLocationExpression
DWARFExpression MakeGlobalLocationExpression(uint16_t section, uint32_t offset, lldb::ModuleSP module)
lldb_private::npdb::MakeVFrameRelLocationExpression
DWARFExpression MakeVFrameRelLocationExpression(llvm::StringRef fpo_program, int32_t offset, lldb::ModuleSP module)
Definition: DWARFLocationExpression.cpp:178
uint32_t
uint16_t
lldb_private::npdb::MakeConstantLocationExpression
DWARFExpression MakeConstantLocationExpression(llvm::codeview::TypeIndex underlying_ti, llvm::pdb::TpiStream &tpi, const llvm::APSInt &constant, lldb::ModuleSP module)
lldb-forward.h
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::npdb::MakeEnregisteredLocationExpression
DWARFExpression MakeEnregisteredLocationExpression(llvm::codeview::RegisterId reg, lldb::ModuleSP module)
Definition: DWARFLocationExpression.cpp:161