From e3b557809604d036af6e00c60f012c2025b59a5e Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 11 Feb 2023 13:38:04 +0100 Subject: Vendor import of llvm-project main llvmorg-16-init-18548-gb0daacf58f41, the last commit before the upstream release/17.x branch was created. --- llvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'llvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp') diff --git a/llvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp b/llvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp index a167d45982a9..9c05d585831a 100644 --- a/llvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp @@ -66,6 +66,8 @@ std::string llvm::pdb::formatChunkKind(DebugSubsectionKind Kind, RETURN_CASE(DebugSubsectionKind, MergedAssemblyInput, "merged assembly input"); RETURN_CASE(DebugSubsectionKind, CoffSymbolRVA, "coff symbol rva"); + RETURN_CASE(DebugSubsectionKind, XfgHashType, "xfg hash type"); + RETURN_CASE(DebugSubsectionKind, XfgHashVirtual, "xfg hash virtual"); } } else { switch (Kind) { @@ -89,6 +91,11 @@ std::string llvm::pdb::formatChunkKind(DebugSubsectionKind Kind, "DEBUG_S_MERGED_ASSEMBLYINPUT"); RETURN_CASE(DebugSubsectionKind, CoffSymbolRVA, "DEBUG_S_COFF_SYMBOL_RVA"); + RETURN_CASE(DebugSubsectionKind, XfgHashType, + "DEBUG_S_XFGHASH_TYPE"); + RETURN_CASE(DebugSubsectionKind, XfgHashVirtual, + "DEBUG_S_XFGHASH_VIRTUAL"); + } } return formatUnknownEnum(Kind); -- cgit v1.2.3