LLDB mainline
Namespaces | Functions
PDBLocationToDWARFExpression.h File Reference
#include "lldb/Core/Module.h"
#include "lldb/Symbol/Variable.h"

Go to the source code of this file.

Namespaces

namespace  lldb_private
 A class that represents a running process on the host machine.
 
namespace  llvm
 
namespace  llvm::pdb
 

Functions

lldb_private::DWARFExpression ConvertPDBLocationToDWARFExpression (lldb::ModuleSP module, const llvm::pdb::PDBSymbolData &symbol, const lldb_private::Variable::RangeList &ranges, bool &is_constant)
 Converts a location information from a PDB symbol to a DWARF expression.
 

Function Documentation

◆ ConvertPDBLocationToDWARFExpression()

lldb_private::DWARFExpression ConvertPDBLocationToDWARFExpression ( lldb::ModuleSP  module,
const llvm::pdb::PDBSymbolData &  symbol,
const lldb_private::Variable::RangeList ranges,
bool &  is_constant 
)

Converts a location information from a PDB symbol to a DWARF expression.

Parameters
[in]moduleThe module symbol belongs to.
[in]symbolThe symbol with a location information to convert.
[in]rangesRanges where this variable is valid.
[out]is_constantSet to true if the result expression is a constant value data, and false if it is a DWARF bytecode.
Returns
The DWARF expression corresponding to the location data of symbol.