|
LLVM 22.0.0git
|
#include "llvm/DebugInfo/DWARF/DWARFDie.h"#include "llvm/ADT/SmallPtrSet.h"#include "llvm/ADT/SmallSet.h"#include "llvm/ADT/StringRef.h"#include "llvm/BinaryFormat/Dwarf.h"#include "llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h"#include "llvm/DebugInfo/DWARF/DWARFContext.h"#include "llvm/DebugInfo/DWARF/DWARFDebugLine.h"#include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"#include "llvm/DebugInfo/DWARF/DWARFExpressionPrinter.h"#include "llvm/DebugInfo/DWARF/DWARFFormValue.h"#include "llvm/DebugInfo/DWARF/DWARFTypePrinter.h"#include "llvm/DebugInfo/DWARF/DWARFTypeUnit.h"#include "llvm/DebugInfo/DWARF/DWARFUnit.h"#include "llvm/DebugInfo/DWARF/LowLevel/DWARFExpression.h"#include "llvm/Object/ObjectFile.h"#include "llvm/Support/DataExtractor.h"#include "llvm/Support/Format.h"#include "llvm/Support/FormatVariadic.h"#include "llvm/Support/WithColor.h"#include "llvm/Support/raw_ostream.h"#include <cassert>#include <cinttypes>#include <cstdint>#include <string>#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
|
static |
Definition at line 40 of file DWARFDie.cpp.
References llvm::dwarf::ApplePropertyString(), assert(), llvm::countr_zero(), and llvm::format().
Referenced by dumpAttribute().
|
static |
Definition at line 151 of file DWARFDie.cpp.
References llvm::DILineInfoSpecifier::AbsoluteFilePath, llvm::DWARFAttribute::Attr, llvm::Attribute, llvm::dwarf::AttributeValueString(), llvm::dwarf::computeTombstoneAddress(), llvm::DWARFFormValue::createFromUValue(), llvm::createStringError(), D(), llvm::DWARFFormValue::dump(), llvm::DWARFFormValue::dumpAddress(), dumpApplePropertyAttribute(), dumpLocationExpr(), dumpLocationList(), dumpRanges(), llvm::dumpTypeQualifiedName(), llvm::StringRef::empty(), llvm::Enumerator, llvm::DWARFFormValue::FC_Block, llvm::DWARFFormValue::FC_Exprloc, llvm::DWARFFormValue::FC_SectionOffset, llvm::formatv(), llvm::DWARFDie::getAddressRanges(), getApplePropertyName(), llvm::DWARFFormValue::getAsAddress(), llvm::DWARFFormValue::getAsSectionOffset(), llvm::DWARFFormValue::getAsUnsignedConstant(), llvm::DWARFDie::getAttributeValueAsReferencedDie(), llvm::DWARFUnit::getContext(), llvm::DWARFContext::getDWARFObj(), llvm::DWARFDie::getDwarfUnit(), llvm::DWARFFormValue::getForm(), llvm::DWARFDie::getLowAndHighPC(), llvm::DWARFDie::getName(), llvm::raw_ostream::indent(), llvm::invalid_argument, llvm::DWARFFormValue::isFormClass(), llvm::DWARFDie::isValid(), llvm::LinkageName, llvm::DWARFAttribute::mayHaveLocationExpr(), llvm::DWARFAttribute::mayHaveLocationList(), prettyLanguageVersionString(), llvm::DIDumpOptions::RecoverableErrorHandler, resolveReferencedType(), llvm::DIDumpOptions::ShowAddresses, llvm::DIDumpOptions::ShowForm, llvm::String, llvm::toString(), llvm::DWARFAttribute::Value, and llvm::DIDumpOptions::Verbose.
Referenced by llvm::DWARFDie::dump().
|
static |
Definition at line 92 of file DWARFDie.cpp.
References assert(), llvm::Data, llvm::ArrayRef< T >::data(), llvm::DWARFFormValue::FC_Block, llvm::DWARFFormValue::FC_Exprloc, llvm::DWARFFormValue::getAsBlock(), llvm::DWARFFormValue::isFormClass(), llvm::printDwarfExpression(), and llvm::ArrayRef< T >::size().
Referenced by dumpAttribute().
|
static |
Definition at line 72 of file DWARFDie.cpp.
References assert(), llvm::DWARFFormValue::dump(), llvm::DWARFFormValue::FC_SectionOffset, llvm::DWARFFormValue::getAsSectionOffset(), llvm::DWARFFormValue::getForm(), llvm::DWARFFormValue::isFormClass(), and llvm::Offset.
Referenced by llvm::DWARFDebugLoc::dump(), dumpAttribute(), and llvm::DWARFDebugLoclists::dumpRange().
|
static |
Helper to dump a DIE with all of its parents, but no siblings.
Definition at line 652 of file DWARFDie.cpp.
References llvm::Depth, llvm::DWARFDie::dump(), dumpParentChain(), llvm::DWARFDie::getParent(), and llvm::DIDumpOptions::ParentRecurseDepth.
Referenced by llvm::DWARFDie::dump(), and dumpParentChain().
|
static |
Definition at line 58 of file DWARFDie.cpp.
References llvm::raw_ostream::indent(), and llvm::DIDumpOptions::ShowAddresses.
Referenced by dumpAttribute().
|
static |
Definition at line 133 of file DWARFDie.cpp.
References llvm::createStringError(), llvm::DWARFDie::find(), and llvm::DWARFDie::getTag().
Referenced by dumpAttribute().
|
static |
Definition at line 580 of file DWARFDie.cpp.
References llvm::DWARFDie::find(), llvm::DWARFDie::getAttributeValueAsReferencedDie(), llvm::DWARFDie::getDebugInfoEntry(), llvm::DWARFDie::getTag(), getTypeSizeImpl(), llvm::SmallPtrSetImpl< PtrType >::insert(), and Size.
Referenced by llvm::DWARFDie::getTypeSize(), and getTypeSizeImpl().
|
static |
Definition at line 111 of file DWARFDie.cpp.
References llvm::DWARFAttribute::Attr, llvm::DWARFDie::find(), llvm::DWARFFormValue::getAsUnsignedConstant(), llvm::dwarf::LanguageDescription(), and llvm::DWARFAttribute::Value.
Referenced by dumpAttribute().
|
static |