LLVM: include/llvm/DebugInfo/PDB/Native/FormatUtil.h File Reference (original) (raw)

Go to the source code of this file.

Macros
#define PUSH_MASKED_FLAG(Enum, Mask, TheOpt, Value, Text)
#define PUSH_FLAG(Enum, TheOpt, Value, Text)
#define RETURN_CASE(Enum, X, Ret)
Functions
template<typename T>
std::string llvm::pdb::formatUnknownEnum (T Value)
LLVM_ABI std::string llvm::pdb::formatSegmentOffset (uint16_t Segment, uint32_t Offset)
LLVM_ABI std::string llvm::pdb::formatSectionCharacteristics (uint32_t IndentLevel, uint32_t C, uint32_t FlagsPerLine, StringRef Separator, CharacteristicStyle Style=CharacteristicStyle::HeaderDefinition)
LLVM_ABI std::string llvm::pdb::typesetItemList (ArrayRef< std::string > Opts, uint32_t IndentLevel, uint32_t GroupSize, StringRef Sep)
LLVM_ABI std::string llvm::pdb::typesetStringList (uint32_t IndentLevel, ArrayRef< StringRef > Strings)
LLVM_ABI std::string llvm::pdb::formatChunkKind (codeview::DebugSubsectionKind Kind, bool Friendly=true)
LLVM_ABI std::string llvm::pdb::formatSymbolKind (codeview::SymbolKind K)
LLVM_ABI std::string llvm::pdb::formatTypeLeafKind (codeview::TypeLeafKind K)
int llvm::pdb::NumDigits (uint64_t N)
Returns the number of digits in the given integer.
template<typename T>
detail::EndianAdapter< T > llvm::pdb::fmtle (support::detail::packed_endian_specific_integral< T, llvm::endianness::little, support::unaligned > Value)

PUSH_FLAG

#define PUSH_FLAG ( Enum,
TheOpt,
Value,
Text )

Value:

PUSH_MASKED_FLAG(Enum, Enum::TheOpt, TheOpt, Value, Text)

#define PUSH_MASKED_FLAG(Enum, Mask, TheOpt, Value, Text)

Definition at line 30 of file FormatUtil.h.

PUSH_MASKED_FLAG

#define PUSH_MASKED_FLAG ( Enum,
Mask,
TheOpt,
Value,
Text )

Value:

if (Enum::TheOpt == (Value & Mask)) \

Opts.push_back(Text);

Definition at line 26 of file FormatUtil.h.

RETURN_CASE

#define RETURN_CASE ( Enum,
X,
Ret )