LLVM 20.0.0git
|
#include "llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h"
#include "llvm/DebugInfo/CodeView/RecordName.h"
#include "llvm/DebugInfo/CodeView/RecordSerialization.h"
#include "llvm/DebugInfo/CodeView/SymbolRecord.h"
#include "llvm/DebugInfo/CodeView/SymbolSerializer.h"
#include "llvm/DebugInfo/MSF/MSFBuilder.h"
#include "llvm/DebugInfo/MSF/MSFCommon.h"
#include "llvm/DebugInfo/MSF/MappedBlockStream.h"
#include "llvm/DebugInfo/PDB/Native/GlobalsStream.h"
#include "llvm/DebugInfo/PDB/Native/Hash.h"
#include "llvm/DebugInfo/PDB/Native/RawTypes.h"
#include "llvm/Support/BinaryItemStream.h"
#include "llvm/Support/BinaryStreamWriter.h"
#include "llvm/Support/Parallel.h"
#include "llvm/Support/TimeProfiler.h"
#include "llvm/Support/xxhash.h"
#include <algorithm>
#include <vector>
Go to the source code of this file.
Classes | |
struct | llvm::pdb::GSIHashStreamBuilder |
struct | llvm::pdb::SymbolDenseMapInfo |
Functions | |
static uint32_t | sizeOfPublic (const BulkPublic &Pub) |
static CVSymbol | serializePublic (uint8_t *Mem, const BulkPublic &Pub) |
static bool | isAsciiString (StringRef S) |
static int | gsiRecordCmp (StringRef S1, StringRef S2) |
static Error | writePublics (BinaryStreamWriter &Writer, ArrayRef< BulkPublic > Publics) |
static Error | writeRecords (BinaryStreamWriter &Writer, ArrayRef< CVSymbol > Records) |
static std::vector< support::ulittle32_t > | computeAddrMap (ArrayRef< BulkPublic > Publics) |
|
static |
Definition at line 419 of file GSIStreamBuilder.cpp.
References I, and llvm::parallelSort().
Definition at line 156 of file GSIStreamBuilder.cpp.
References llvm::StringRef::data(), isAsciiString(), LLVM_UNLIKELY, memcmp, S1, and llvm::StringRef::size().
Referenced by llvm::pdb::GSIHashStreamBuilder::finalizeBuckets().
Definition at line 151 of file GSIStreamBuilder.cpp.
References llvm::all_of(), and llvm::CallingConv::C.
Referenced by gsiRecordCmp().
|
static |
Definition at line 105 of file GSIStreamBuilder.cpp.
References llvm::alignTo(), assert(), llvm::pdb::BulkPublic::Flags, llvm::codeview::MaxRecordLength, llvm::pdb::BulkPublic::Name, llvm::pdb::BulkPublic::NameLen, llvm::pdb::BulkPublic::Offset, llvm::pdb::BulkPublic::Segment, Size, and sizeOfPublic().
Referenced by writePublics().
|
static |
Definition at line 98 of file GSIStreamBuilder.cpp.
References llvm::alignTo(), llvm::codeview::MaxRecordLength, and llvm::pdb::BulkPublic::NameLen.
Referenced by llvm::pdb::GSIStreamBuilder::addPublicSymbols(), serializePublic(), and writePublics().
|
static |
Definition at line 383 of file GSIStreamBuilder.cpp.
References serializePublic(), sizeOfPublic(), llvm::Error::success(), and llvm::BinaryStreamWriter::writeBytes().
|
static |
Definition at line 395 of file GSIStreamBuilder.cpp.
References llvm::little, llvm::BinaryItemStream< T, Traits >::setItems(), and llvm::BinaryStreamWriter::writeStreamRef().