LLVM 20.0.0git
|
#include "llvm/DebugInfo/PDB/Native/NativeSession.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/DebugInfo/MSF/MSFCommon.h"
#include "llvm/DebugInfo/MSF/MappedBlockStream.h"
#include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
#include "llvm/DebugInfo/PDB/IPDBSourceFile.h"
#include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h"
#include "llvm/DebugInfo/PDB/Native/DbiModuleList.h"
#include "llvm/DebugInfo/PDB/Native/DbiStream.h"
#include "llvm/DebugInfo/PDB/Native/ISectionContribVisitor.h"
#include "llvm/DebugInfo/PDB/Native/ModuleDebugStream.h"
#include "llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h"
#include "llvm/DebugInfo/PDB/Native/NativeExeSymbol.h"
#include "llvm/DebugInfo/PDB/Native/PDBFile.h"
#include "llvm/DebugInfo/PDB/Native/RawConstants.h"
#include "llvm/DebugInfo/PDB/Native/RawError.h"
#include "llvm/DebugInfo/PDB/Native/RawTypes.h"
#include "llvm/DebugInfo/PDB/Native/SymbolCache.h"
#include "llvm/DebugInfo/PDB/PDBSymbol.h"
#include "llvm/DebugInfo/PDB/PDBSymbolCompiland.h"
#include "llvm/DebugInfo/PDB/PDBSymbolExe.h"
#include "llvm/Object/Binary.h"
#include "llvm/Object/COFF.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/BinaryByteStream.h"
#include "llvm/Support/BinaryStreamArray.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include <algorithm>
#include <cassert>
#include <memory>
#include <utility>
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
namespace | llvm::codeview |
Functions | |
static DbiStream * | getDbiStreamPtr (PDBFile &File) |
static Expected< std::unique_ptr< PDBFile > > | loadPdbFile (StringRef PdbPath, std::unique_ptr< BumpPtrAllocator > &Allocator) |
static Expected< std::string > | getPdbPathFromExe (StringRef ExePath) |
Definition at line 57 of file NativeSession.cpp.
References llvm::consumeError(), llvm::Expected< T >::get(), and llvm::Expected< T >::takeError().
Definition at line 132 of file NativeSession.cpp.
References llvm::object::createBinary(), E, llvm::object::COFFObjectFile::getDebugPDBInfo(), llvm::pdb::invalid_format, and llvm::Expected< T >::takeError().
Referenced by llvm::pdb::NativeSession::createFromExe(), and llvm::pdb::NativeSession::searchForPdb().
|
static |
Definition at line 93 of file NativeSession.cpp.
References Allocator, llvm::ErrorOr< T >::getError(), llvm::MemoryBuffer::getFile(), llvm::identify_magic(), llvm::little, llvm::msf::Magic, and llvm::file_magic::pdb.
Referenced by llvm::pdb::NativeSession::createFromExe(), llvm::pdb::NativeSession::createFromPdbPath(), and llvm::pdb::NativeSession::searchForPdb().