LLDB  mainline
Namespaces | Functions
PDBLocationToDWARFExpression.h File Reference
#include "lldb/Core/Module.h"
#include "lldb/Symbol/Variable.h"
Include dependency graph for PDBLocationToDWARFExpression.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 lldb_private
 A class that represents a running process on the host machine.
 
 llvm
 
 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. More...
 

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.