LLVM 20.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/DWARFExpression.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/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 39 of file DWARFDie.cpp.
References llvm::dwarf::ApplePropertyString(), assert(), llvm::countr_zero(), llvm::format(), and OS.
Referenced by dumpAttribute().
|
static |
Definition at line 109 of file DWARFDie.cpp.
References llvm::DWARFAttribute::Attr, 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::DWARFFormValue::FC_Block, llvm::DWARFFormValue::FC_Exprloc, llvm::DWARFFormValue::FC_SectionOffset, llvm::formatv(), llvm::DWARFDie::getAddressRanges(), 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::DWARFFormValue::isFormClass(), llvm::DWARFDie::isValid(), llvm::DWARFAttribute::mayHaveLocationExpr(), llvm::DWARFAttribute::mayHaveLocationList(), Name, OS, llvm::DIDumpOptions::RecoverableErrorHandler, resolveReferencedType(), llvm::DIDumpOptions::ShowAddresses, llvm::DIDumpOptions::ShowForm, llvm::dwarf::toString(), llvm::DWARFAttribute::Value, and llvm::DIDumpOptions::Verbose.
Referenced by llvm::DWARFDie::dump().
|
static |
Definition at line 91 of file DWARFDie.cpp.
References assert(), llvm::ArrayRef< T >::data(), llvm::DWARFFormValue::FC_Block, llvm::DWARFFormValue::FC_Exprloc, llvm::DWARFFormValue::getAsBlock(), llvm::DWARFFormValue::isFormClass(), llvm::DWARFContext::isLittleEndian(), OS, llvm::DWARFExpression::print(), and llvm::ArrayRef< T >::size().
Referenced by dumpAttribute().
|
static |
Definition at line 71 of file DWARFDie.cpp.
References assert(), llvm::DWARFFormValue::dump(), llvm::DWARFFormValue::FC_SectionOffset, llvm::DWARFFormValue::getAsSectionOffset(), llvm::DWARFContext::getDWARFObj(), llvm::DWARFFormValue::getForm(), llvm::DWARFFormValue::isFormClass(), llvm::Offset, and OS.
Referenced by dumpAttribute().
|
static |
Helper to dump a DIE with all of its parents, but no siblings.
Definition at line 583 of file DWARFDie.cpp.
References llvm::Depth, llvm::DWARFDie::dump(), dumpParentChain(), llvm::DWARFDie::getParent(), OS, and llvm::DIDumpOptions::ParentRecurseDepth.
Referenced by llvm::DWARFDie::dump(), and dumpParentChain().
|
static |
Definition at line 57 of file DWARFDie.cpp.
References llvm::raw_ostream::indent(), OS, and llvm::DIDumpOptions::ShowAddresses.
Referenced by dumpAttribute().
|
static |
Definition at line 511 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 |