LLVM
15.0.0git
|
#include "llvm/DebugInfo/DWARF/DWARFExpression.h"
Classes | |
class | iterator |
An iterator to go through the expression operations. More... | |
class | Operation |
This class represents an Operation in the Expression. More... | |
Public Member Functions | |
DWARFExpression (DataExtractor Data, uint8_t AddressSize, Optional< dwarf::DwarfFormat > Format=None) | |
iterator | begin () const |
iterator | end () const |
void | print (raw_ostream &OS, DIDumpOptions DumpOpts, const MCRegisterInfo *RegInfo, DWARFUnit *U, bool IsEH=false) const |
bool | printCompact (raw_ostream &OS, const MCRegisterInfo &RegInfo) |
Print the expression in a format intended to be compact and useful to a user, but not perfectly unambiguous, or capable of representing every valid DWARF expression. More... | |
bool | verify (DWARFUnit *U) |
bool | operator== (const DWARFExpression &RHS) const |
StringRef | getData () const |
Definition at line 24 of file DWARFExpression.h.
|
inline |
Definition at line 142 of file DWARFExpression.h.
References assert().
|
inline |
Definition at line 148 of file DWARFExpression.h.
Referenced by llvm::DWARFUnit::updateVariableDieMap().
|
inline |
Definition at line 149 of file DWARFExpression.h.
References llvm::Data.
Referenced by llvm::DWARFUnit::updateVariableDieMap().
|
inline |
Definition at line 165 of file DWARFExpression.h.
References llvm::Data.
bool llvm::DWARFExpression::operator== | ( | const DWARFExpression & | RHS | ) | const |
Definition at line 513 of file DWARFExpression.cpp.
References llvm::Data, and RHS.
void llvm::DWARFExpression::print | ( | raw_ostream & | OS, |
DIDumpOptions | DumpOpts, | ||
const MCRegisterInfo * | RegInfo, | ||
DWARFUnit * | U, | ||
bool | IsEH = false |
||
) | const |
Definition at line 325 of file DWARFExpression.cpp.
References llvm::Data, and llvm::format().
Referenced by dumpExpression(), and dumpLocationExpr().
bool llvm::DWARFExpression::printCompact | ( | raw_ostream & | OS, |
const MCRegisterInfo & | RegInfo | ||
) |
Print the expression in a format intended to be compact and useful to a user, but not perfectly unambiguous, or capable of representing every valid DWARF expression.
Returns true if the expression was sucessfully printed.
Definition at line 509 of file DWARFExpression.cpp.
References llvm::sys::path::begin(), llvm::sys::path::end(), MRI, and llvm::printCompactDWARFExpr().
bool llvm::DWARFExpression::verify | ( | DWARFUnit * | U | ) |
Definition at line 383 of file DWARFExpression.cpp.
References verify.