LLVM 20.0.0git
|
#include "llvm/DebugInfo/PDB/Native/InputFile.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h"
#include "llvm/DebugInfo/CodeView/StringsAndChecksums.h"
#include "llvm/DebugInfo/MSF/MappedBlockStream.h"
#include "llvm/DebugInfo/PDB/Native/DbiStream.h"
#include "llvm/DebugInfo/PDB/Native/FormatUtil.h"
#include "llvm/DebugInfo/PDB/Native/LinePrinter.h"
#include "llvm/DebugInfo/PDB/Native/NativeSession.h"
#include "llvm/DebugInfo/PDB/Native/PDBFile.h"
#include "llvm/DebugInfo/PDB/Native/PDBStringTable.h"
#include "llvm/DebugInfo/PDB/Native/RawError.h"
#include "llvm/DebugInfo/PDB/Native/TpiStream.h"
#include "llvm/DebugInfo/PDB/PDB.h"
#include "llvm/Object/COFF.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/FormatVariadic.h"
Go to the source code of this file.
Functions | |
static bool | isCodeViewDebugSubsection (object::SectionRef Section, StringRef Name, BinaryStreamReader &Reader) |
static bool | isDebugSSection (object::SectionRef Section, DebugSubsectionArray &Subsections) |
static bool | isDebugTSection (SectionRef Section, CVTypeArray &Types) |
static std::string | formatChecksumKind (FileChecksumKind Kind) |
template<typename... Args> | |
static void | formatInternal (LinePrinter &Printer, bool Append, Args &&...args) |
static bool | isMyCode (const SymbolGroup &Group) |
|
static |
Definition at line 139 of file InputFile.cpp.
References llvm::pdb::formatUnknownEnum(), llvm::None, and RETURN_CASE.
Referenced by llvm::pdb::SymbolGroup::formatFromChecksumsOffset(), and llvm::pdb::SymbolGroup::formatFromFileName().
|
static |
Definition at line 150 of file InputFile.cpp.
Referenced by llvm::pdb::SymbolGroup::formatFromChecksumsOffset(), and llvm::pdb::SymbolGroup::formatFromFileName().
|
inlinestatic |
Definition at line 93 of file InputFile.cpp.
References llvm::BinaryStreamReader::bytesRemaining(), llvm::cantFail(), llvm::consumeError(), llvm::COFF::DEBUG_SECTION_MAGIC, llvm::little, Name, llvm::BinaryStreamReader::readInteger(), and llvm::Expected< T >::takeError().
Referenced by isDebugSSection(), and isDebugTSection().
|
inlinestatic |
Definition at line 120 of file InputFile.cpp.
References llvm::BinaryStreamReader::bytesRemaining(), llvm::cantFail(), isCodeViewDebugSubsection(), and llvm::BinaryStreamReader::readArray().
Referenced by llvm::pdb::SymbolGroup::SymbolGroup().
|
static |
Definition at line 130 of file InputFile.cpp.
References llvm::BinaryStreamReader::bytesRemaining(), llvm::cantFail(), isCodeViewDebugSubsection(), and llvm::BinaryStreamReader::readArray().
Referenced by llvm::pdb::InputFile::hasTypes().
|
static |
Definition at line 559 of file InputFile.cpp.
References llvm::pdb::SymbolGroup::getFile(), llvm::pdb::InputFile::isObj(), llvm::pdb::SymbolGroup::name(), and Name.
Referenced by llvm::pdb::shouldDumpSymbolGroup().