mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Add dump method to DIDescriptor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71028 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ff9977f8cd
commit
16de013640
@ -74,6 +74,8 @@ namespace llvm {
|
|||||||
/// ValidDebugInfo - Return true if V represents valid debug info value.
|
/// ValidDebugInfo - Return true if V represents valid debug info value.
|
||||||
static bool ValidDebugInfo(Value *V, CodeGenOpt::Level OptLevel);
|
static bool ValidDebugInfo(Value *V, CodeGenOpt::Level OptLevel);
|
||||||
|
|
||||||
|
/// dump - print descriptor.
|
||||||
|
void dump() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
/// DIAnchor - A wrapper for various anchor descriptors.
|
/// DIAnchor - A wrapper for various anchor descriptors.
|
||||||
|
@ -981,6 +981,11 @@ namespace llvm {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// dump - print descriptor.
|
||||||
|
void DIDescriptor::dump() const {
|
||||||
|
cerr << " [" << dwarf::TagString(getTag()) << "]\n";
|
||||||
|
}
|
||||||
|
|
||||||
/// dump - print compile unit.
|
/// dump - print compile unit.
|
||||||
void DICompileUnit::dump() const {
|
void DICompileUnit::dump() const {
|
||||||
if (getLanguage())
|
if (getLanguage())
|
||||||
@ -1035,7 +1040,6 @@ void DIType::dump() const {
|
|||||||
/// dump - print basic type.
|
/// dump - print basic type.
|
||||||
void DIBasicType::dump() const {
|
void DIBasicType::dump() const {
|
||||||
cerr << " [" << dwarf::AttributeEncodingString(getEncoding()) << "] ";
|
cerr << " [" << dwarf::AttributeEncodingString(getEncoding()) << "] ";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// dump - print derived type.
|
/// dump - print derived type.
|
||||||
|
Loading…
Reference in New Issue
Block a user