diff options
Diffstat (limited to 'llvm/tools/llvm-pdbutil/FormatUtil.h')
-rw-r--r-- | llvm/tools/llvm-pdbutil/FormatUtil.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/tools/llvm-pdbutil/FormatUtil.h b/llvm/tools/llvm-pdbutil/FormatUtil.h index 34fe4ee455c..7804a1f0e23 100644 --- a/llvm/tools/llvm-pdbutil/FormatUtil.h +++ b/llvm/tools/llvm-pdbutil/FormatUtil.h @@ -12,6 +12,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" +#include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/Support/Endian.h" #include "llvm/Support/FormatAdapters.h" #include "llvm/Support/FormatVariadic.h" @@ -64,6 +65,10 @@ std::string typesetItemList(ArrayRef<std::string> Opts, uint32_t IndentLevel, std::string typesetStringList(uint32_t IndentLevel, ArrayRef<StringRef> Strings); +std::string formatChunkKind(codeview::DebugSubsectionKind Kind, + bool Friendly = true); +std::string formatSymbolKind(codeview::SymbolKind K); + /// Returns the number of digits in the given integer. inline int NumDigits(uint64_t N) { if (N < 10ULL) |