1 //===-- PDBLocationToDWARFExpression.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_PDB_PDBLocationToDWARFExpression_h_
11 #define lldb_Plugins_SymbolFile_PDB_PDBLocationToDWARFExpression_h_
13 #include "lldb/Core/Module.h"
15 namespace lldb_private {
16 class DWARFExpression;
25 //------------------------------------------------------------------------------
26 /// Converts a location information from a PDB symbol to a DWARF expression
29 /// The module \a symbol belongs to.
32 /// The symbol with a location information to convert.
34 /// @param[out] is_constant
35 /// Set to \b true if the result expression is a constant value data,
36 /// and \b false if it is a DWARF bytecode.
39 /// The DWARF expression corresponding to the location data of \a symbol.
40 //------------------------------------------------------------------------------
41 lldb_private::DWARFExpression
42 ConvertPDBLocationToDWARFExpression(lldb::ModuleSP module,
43 const llvm::pdb::PDBSymbolData &symbol,