1 //===-- DWARFLocationExpression.h -------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_PLUGINS_SYMBOLFILE_NATIVEPDB_DWARFLOCATIONEXPRESSION_H
11 #define LLDB_PLUGINS_SYMBOLFILE_NATIVEPDB_DWARFLOCATIONEXPRESSION_H
13 #include "lldb/lldb-forward.h"
14 #include "llvm/DebugInfo/CodeView/CodeView.h"
25 namespace lldb_private {
28 MakeEnregisteredLocationExpression(llvm::codeview::RegisterId reg,
29 lldb::ModuleSP module);
31 DWARFExpression MakeRegRelLocationExpression(llvm::codeview::RegisterId reg,
33 lldb::ModuleSP module);
34 DWARFExpression MakeGlobalLocationExpression(uint16_t section, uint32_t offset,
35 lldb::ModuleSP module);
36 DWARFExpression MakeConstantLocationExpression(
37 llvm::codeview::TypeIndex underlying_ti, llvm::pdb::TpiStream &tpi,
38 const llvm::APSInt &constant, lldb::ModuleSP module);
40 } // namespace lldb_private