|
LLVM 23.0.0git
|
#include "llvm/DWP/DWP.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/Twine.h"#include "llvm/BinaryFormat/ELF.h"#include "llvm/DWP/DWPError.h"#include "llvm/DWP/ELFWriter.h"#include "llvm/Object/Decompressor.h"#include "llvm/Object/ELFObjectFile.h"#include "llvm/Support/EndianStream.h"#include "llvm/Support/LEB128.h"#include "llvm/Support/MathExtras.h"#include <limits>Go to the source code of this file.
Namespaces | |
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
Enumerations | |
| enum | llvm::AccessField { llvm::Offset , llvm::Length } |
|
static |
Definition at line 204 of file DWP.cpp.
References llvm::CallingConv::C, llvm::UnitIndexEntry::Contributions, E(), llvm::DWPWriter::emitBytes(), llvm::DWARFUnitIndex::getColumnKinds(), getContributionIndex(), llvm::DWARFUnitIndex::Entry::SectionContribution::getOffset(), llvm::DWARFUnitIndex::getRows(), llvm::DWARFUnitIndex::getVersion(), I, llvm::MapVector< KeyT, ValueT, MapType, VectorType >::insert(), isSupportedSectionKind(), P, sectionOverflowErrorOrWarning(), llvm::Error::success(), and llvm::DWPWriter::switchSection().
Referenced by llvm::write().
|
static |
Definition at line 253 of file DWP.cpp.
References llvm::CallingConv::C, llvm::UnitIndexEntry::Contributions, llvm::Data, llvm::DW_SECT_EXT_TYPES, llvm::DWPWriter::emitBytes(), getContributionIndex(), llvm::MapVector< KeyT, ValueT, MapType, VectorType >::insert(), llvm::Offset, P, sectionOverflowErrorOrWarning(), llvm::Error::success(), and llvm::DWPWriter::switchSection().
Referenced by llvm::write().
|
static |
Definition at line 357 of file DWP.cpp.
References buildDWODescription(), llvm::make_error(), and llvm::utohexstr().
Referenced by llvm::write().
|
static |
Definition at line 300 of file DWP.cpp.
References llvm::StringRef::empty().
Referenced by buildDuplicateError().
Definition at line 326 of file DWP.cpp.
References E(), llvm::make_error(), and llvm::toString().
|
static |
Definition at line 31 of file DWP.cpp.
References llvm::dwarf::DW_LENGTH_DWARF64, llvm::DataExtractor::getU32(), llvm::Length, and llvm::Offset.
Referenced by getIndexedString(), and llvm::writeStringsAndOffsets().
|
static |
Definition at line 161 of file DWP.cpp.
References assert(), and llvm::serializeSectionKind().
Referenced by addAllTypesFromDWP(), addAllTypesFromTypesSection(), and llvm::write().
Definition at line 42 of file DWP.cpp.
References llvm::DataExtractor::getU8(), llvm::DataExtractor::getULEB128(), and llvm::Offset.
Referenced by getCUIdentifiers().
|
static |
Definition at line 96 of file DWP.cpp.
References getCUAbbrev(), getIndexedString(), llvm::DataExtractor::getU64(), llvm::DataExtractor::getU8(), llvm::DataExtractor::getULEB128(), llvm::make_error(), llvm::Offset, llvm::DWARFFormValue::skipValue(), llvm::Expected< T >::takeError(), and llvm::utostr().
Referenced by llvm::write().
|
static |
Definition at line 58 of file DWP.cpp.
References debugStrOffsetsHeaderSize(), llvm::DataExtractor::getCStr(), llvm::DataExtractor::getU16(), llvm::DataExtractor::getU24(), llvm::DataExtractor::getU32(), llvm::DataExtractor::getU8(), llvm::DataExtractor::getULEB128(), and llvm::make_error().
Referenced by getCUIdentifiers().
Definition at line 169 of file DWP.cpp.
Referenced by llvm::writeIndex().
|
static |
Definition at line 173 of file DWP.cpp.
Referenced by llvm::write().
|
static |
Definition at line 334 of file DWP.cpp.
References llvm::StringRef::back(), llvm::object::Decompressor::create(), llvm::object::createError(), llvm::dyn_cast(), E(), getFlags(), llvm::object::SectionRef::getObject(), llvm::isa(), llvm::ELF::SHF_COMPRESSED, llvm::Error::success(), and llvm::Expected< T >::takeError().
Referenced by llvm::handleSection().
|
static |
Definition at line 155 of file DWP.cpp.
References llvm::DW_SECT_EXT_unknown.
Referenced by addAllTypesFromDWP(), and llvm::write().
|
static |
Definition at line 182 of file DWP.cpp.
References llvm::Continue, llvm::WithColor::defaultWarningHandler(), llvm::make_error(), llvm::SoftStop, and llvm::Error::success().
Referenced by addAllTypesFromDWP(), addAllTypesFromTypesSection(), and llvm::write().
|
static |
Definition at line 368 of file DWP.cpp.
References llvm::Data, llvm::DWPWriter::emitIntValue(), llvm::Offset, Size, and UINT64_MAX.
Referenced by llvm::writeStringsAndOffsets().