LLVM: lib/DebugInfo/CodeView/RecordName.cpp File Reference (original) (raw)
#include "[llvm/DebugInfo/CodeView/RecordName.h](RecordName%5F8h%5Fsource.html)"#include "[llvm/ADT/SmallString.h](SmallString%5F8h%5Fsource.html)"#include "[llvm/ADT/StringExtras.h](StringExtras%5F8h%5Fsource.html)"#include "[llvm/DebugInfo/CodeView/CVTypeVisitor.h](CVTypeVisitor%5F8h%5Fsource.html)"#include "[llvm/DebugInfo/CodeView/CodeView.h](CodeView%5F8h%5Fsource.html)"#include "[llvm/DebugInfo/CodeView/SymbolRecord.h](SymbolRecord%5F8h%5Fsource.html)"#include "[llvm/DebugInfo/CodeView/SymbolRecordMapping.h](SymbolRecordMapping%5F8h%5Fsource.html)"#include "[llvm/DebugInfo/CodeView/TypeCollection.h](TypeCollection%5F8h%5Fsource.html)"#include "[llvm/DebugInfo/CodeView/TypeIndex.h](TypeIndex%5F8h%5Fsource.html)"#include "[llvm/DebugInfo/CodeView/TypeRecord.h](TypeRecord%5F8h%5Fsource.html)"#include "[llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h](TypeVisitorCallbacks%5F8h%5Fsource.html)"#include "[llvm/Support/FormatVariadic.h](FormatVariadic%5F8h%5Fsource.html)"#include "llvm/DebugInfo/CodeView/CodeViewTypes.def"
Go to the source code of this file.
| Macros | |
|---|---|
| #define | TYPE_RECORD(EnumName, EnumVal, Name) |
| #define | TYPE_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) |
| #define | MEMBER_RECORD(EnumName, EnumVal, Name) |
| Functions | |
|---|---|
| static int | getSymbolNameOffset (CVSymbol Sym) |
Macro Definition Documentation
◆ MEMBER_RECORD
| #define MEMBER_RECORD | ( | EnumName, |
|---|---|---|
| EnumVal, | ||
| Name ) |
Definition at line 49 of file RecordName.cpp.
◆ TYPE_RECORD
| #define TYPE_RECORD | ( | EnumName, |
|---|---|---|
| EnumVal, | ||
| Name ) |
Value:
Error visitKnownRecord(CVType &CVR, Name##Record &Record) override;
static Error visitKnownRecord(CVSymbol &Record, SymbolVisitorCallbacks &Callbacks)
Definition CVSymbolVisitor.cpp:23
Lightweight error class with error context and mandatory checking.
Definition Error.h:159
Definition Record.h:1629
CVRecord< TypeLeafKind > CVType
Definition CVRecord.h:64
Definition at line 46 of file RecordName.cpp.
◆ TYPE_RECORD_ALIAS
| #define TYPE_RECORD_ALIAS | ( | EnumName, |
|---|---|---|
| EnumVal, | ||
| Name, | ||
| AliasName ) |
Definition at line 48 of file RecordName.cpp.
Function Documentation
◆ getSymbolNameOffset()
| int getSymbolNameOffset ( CVSymbol Sym) | static |
|---|
Definition at line 265 of file RecordName.cpp.
References llvm::codeview::CVRecord< Kind >::kind().
Referenced by llvm::codeview::getSymbolName().