]> granicus.if.org Git - llvm/commitdiff
[CodeView/PDB] Rename a bunch of files.
authorZachary Turner <zturner@google.com>
Wed, 11 Jan 2017 00:35:43 +0000 (00:35 +0000)
committerZachary Turner <zturner@google.com>
Wed, 11 Jan 2017 00:35:43 +0000 (00:35 +0000)
We were starting to get some name clashes between llvm-pdbdump
and the common CodeView framework, so I took this opportunity
to rename a bunch of files to more accurately describe their
usage.  This also helps in llvm-pdbdump to distinguish
between different files and whether they are used for pretty
dump mode or raw dump mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291627 91177308-0d34-0410-b5e6-96231b3b80d8

29 files changed:
include/llvm/DebugInfo/CodeView/CVTypeDumper.h [moved from include/llvm/DebugInfo/CodeView/TypeDumper.h with 95% similarity]
include/llvm/DebugInfo/CodeView/TypeDumperBase.h [new file with mode: 0644]
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
lib/DebugInfo/CodeView/CMakeLists.txt
lib/DebugInfo/CodeView/CVTypeDumper.cpp [moved from lib/DebugInfo/CodeView/TypeDumper.cpp with 98% similarity]
lib/DebugInfo/CodeView/SymbolDumper.cpp
tools/llvm-pdbdump/CMakeLists.txt
tools/llvm-pdbdump/LLVMOutputStyle.h
tools/llvm-pdbdump/PrettyBuiltinDumper.cpp [moved from tools/llvm-pdbdump/BuiltinDumper.cpp with 95% similarity]
tools/llvm-pdbdump/PrettyBuiltinDumper.h [moved from tools/llvm-pdbdump/BuiltinDumper.h with 79% similarity]
tools/llvm-pdbdump/PrettyClassDefinitionDumper.cpp [moved from tools/llvm-pdbdump/ClassDefinitionDumper.cpp with 96% similarity]
tools/llvm-pdbdump/PrettyClassDefinitionDumper.h [moved from tools/llvm-pdbdump/ClassDefinitionDumper.h with 90% similarity]
tools/llvm-pdbdump/PrettyCompilandDumper.cpp [moved from tools/llvm-pdbdump/CompilandDumper.cpp with 97% similarity]
tools/llvm-pdbdump/PrettyCompilandDumper.h [moved from tools/llvm-pdbdump/CompilandDumper.h with 86% similarity]
tools/llvm-pdbdump/PrettyEnumDumper.cpp [moved from tools/llvm-pdbdump/EnumDumper.cpp with 92% similarity]
tools/llvm-pdbdump/PrettyEnumDumper.h [moved from tools/llvm-pdbdump/EnumDumper.h with 77% similarity]
tools/llvm-pdbdump/PrettyExternalSymbolDumper.cpp [moved from tools/llvm-pdbdump/ExternalSymbolDumper.cpp with 92% similarity]
tools/llvm-pdbdump/PrettyExternalSymbolDumper.h [moved from tools/llvm-pdbdump/ExternalSymbolDumper.h with 77% similarity]
tools/llvm-pdbdump/PrettyFunctionDumper.cpp [moved from tools/llvm-pdbdump/FunctionDumper.cpp with 98% similarity]
tools/llvm-pdbdump/PrettyFunctionDumper.h [moved from tools/llvm-pdbdump/FunctionDumper.h with 86% similarity]
tools/llvm-pdbdump/PrettyTypeDumper.cpp [moved from tools/llvm-pdbdump/TypeDumper.cpp with 92% similarity]
tools/llvm-pdbdump/PrettyTypeDumper.h [moved from tools/llvm-pdbdump/TypeDumper.h with 79% similarity]
tools/llvm-pdbdump/PrettyTypedefDumper.cpp [moved from tools/llvm-pdbdump/TypedefDumper.cpp with 94% similarity]
tools/llvm-pdbdump/PrettyTypedefDumper.h [moved from tools/llvm-pdbdump/TypedefDumper.h with 84% similarity]
tools/llvm-pdbdump/PrettyVariableDumper.cpp [moved from tools/llvm-pdbdump/VariableDumper.cpp with 97% similarity]
tools/llvm-pdbdump/PrettyVariableDumper.h [moved from tools/llvm-pdbdump/VariableDumper.h with 86% similarity]
tools/llvm-pdbdump/YAMLOutputStyle.h
tools/llvm-pdbdump/llvm-pdbdump.cpp
tools/llvm-readobj/COFFDumper.cpp

similarity index 95%
rename from include/llvm/DebugInfo/CodeView/TypeDumper.h
rename to include/llvm/DebugInfo/CodeView/CVTypeDumper.h
index 0a704d4b30b14e203433cfacf3e02a2facdb8fb8..62e8b7bd1b676e63eb03e1d37029d4419feeeca2 100644 (file)
@@ -1,4 +1,4 @@
-//===-- TypeDumper.h - CodeView type info dumper ----------------*- C++ -*-===//
+//===-- CVTypeDumper.h - CodeView type info dumper --------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,8 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_DEBUGINFO_CODEVIEW_TYPEDUMPER_H
-#define LLVM_DEBUGINFO_CODEVIEW_TYPEDUMPER_H
+#ifndef LLVM_DEBUGINFO_CODEVIEW_CVTYPEDUMPER_H
+#define LLVM_DEBUGINFO_CODEVIEW_CVTYPEDUMPER_H
 
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/StringSet.h"
diff --git a/include/llvm/DebugInfo/CodeView/TypeDumperBase.h b/include/llvm/DebugInfo/CodeView/TypeDumperBase.h
new file mode 100644 (file)
index 0000000..e69de29
index 9bf5c72757a1c676b496194b1867eefcccd17790..d63a8e8580fb5e342bb0fe3d88863daed492f6dd 100644 (file)
 
 #include "CodeViewDebug.h"
 #include "llvm/ADT/TinyPtrVector.h"
+#include "llvm/DebugInfo/CodeView/CVTypeDumper.h"
 #include "llvm/DebugInfo/CodeView/CVTypeVisitor.h"
 #include "llvm/DebugInfo/CodeView/CodeView.h"
 #include "llvm/DebugInfo/CodeView/Line.h"
 #include "llvm/DebugInfo/CodeView/SymbolRecord.h"
 #include "llvm/DebugInfo/CodeView/TypeDatabase.h"
-#include "llvm/DebugInfo/CodeView/TypeDumper.h"
 #include "llvm/DebugInfo/CodeView/TypeIndex.h"
 #include "llvm/DebugInfo/CodeView/TypeRecord.h"
 #include "llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h"
index 257866e796ecfb69bf46b0481d745540a610b086..32a73fc6742aacd96318686025b6adc120c9ffed 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_library(LLVMDebugInfoCodeView
   CodeViewError.cpp
   CodeViewRecordIO.cpp
   CVSymbolVisitor.cpp
+  CVTypeDumper.cpp
   CVTypeVisitor.cpp
   EnumTables.cpp
   Line.cpp
@@ -12,7 +13,6 @@ add_llvm_library(LLVMDebugInfoCodeView
   SymbolDumper.cpp
   TypeDatabase.cpp
   TypeDatabaseVisitor.cpp
-  TypeDumper.cpp
   TypeRecord.cpp
   TypeRecordMapping.cpp
   TypeSerializer.cpp
similarity index 98%
rename from lib/DebugInfo/CodeView/TypeDumper.cpp
rename to lib/DebugInfo/CodeView/CVTypeDumper.cpp
index 67754e07ab0d5b3f299fee0412bdb03588478364..a652d3b983af0b6dfcc980a92cd936e2c9180c63 100644 (file)
@@ -1,4 +1,4 @@
-//===-- TypeDumper.cpp - CodeView type info dumper --------------*- C++ -*-===//
+//===-- CVTypeDumper.cpp - CodeView type info dumper ------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "llvm/DebugInfo/CodeView/TypeDumper.h"
+#include "llvm/DebugInfo/CodeView/CVTypeDumper.h"
 #include "llvm/ADT/SmallString.h"
 #include "llvm/DebugInfo/CodeView/CVTypeVisitor.h"
 #include "llvm/DebugInfo/CodeView/TypeDatabase.h"
@@ -46,10 +46,8 @@ static const EnumEntry<uint16_t> ClassOptionNames[] = {
 };
 
 static const EnumEntry<uint8_t> MemberAccessNames[] = {
-    ENUM_ENTRY(MemberAccess, None),
-    ENUM_ENTRY(MemberAccess, Private),
-    ENUM_ENTRY(MemberAccess, Protected),
-    ENUM_ENTRY(MemberAccess, Public),
+    ENUM_ENTRY(MemberAccess, None), ENUM_ENTRY(MemberAccess, Private),
+    ENUM_ENTRY(MemberAccess, Protected), ENUM_ENTRY(MemberAccess, Public),
 };
 
 static const EnumEntry<uint16_t> MethodOptionNames[] = {
@@ -107,8 +105,7 @@ static const EnumEntry<uint16_t> PtrMemberRepNames[] = {
 };
 
 static const EnumEntry<uint16_t> TypeModifierNames[] = {
-    ENUM_ENTRY(ModifierOptions, Const),
-    ENUM_ENTRY(ModifierOptions, Volatile),
+    ENUM_ENTRY(ModifierOptions, Const), ENUM_ENTRY(ModifierOptions, Volatile),
     ENUM_ENTRY(ModifierOptions, Unaligned),
 };
 
index 326e1f5add6514d9731b023e5f6d8d8350ba055a..c17112884cb942c36a715ceaf32f424ad09a724f 100644 (file)
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/SmallString.h"
 #include "llvm/DebugInfo/CodeView/CVSymbolVisitor.h"
+#include "llvm/DebugInfo/CodeView/CVTypeDumper.h"
 #include "llvm/DebugInfo/CodeView/EnumTables.h"
 #include "llvm/DebugInfo/CodeView/SymbolDeserializer.h"
 #include "llvm/DebugInfo/CodeView/SymbolDumpDelegate.h"
 #include "llvm/DebugInfo/CodeView/SymbolRecord.h"
 #include "llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h"
 #include "llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h"
-#include "llvm/DebugInfo/CodeView/TypeDumper.h"
 #include "llvm/DebugInfo/CodeView/TypeIndex.h"
 #include "llvm/Support/Error.h"
 #include "llvm/Support/ScopedPrinter.h"
index d929313903da23cad8ef0fe2f1e3c0b9827eb371..7c46171941f7d3bc4efd9fb3199b99a0681d1a3e 100644 (file)
@@ -8,20 +8,20 @@ set(LLVM_LINK_COMPONENTS
 
 add_llvm_tool(llvm-pdbdump
   llvm-pdbdump.cpp
-  BuiltinDumper.cpp
-  ClassDefinitionDumper.cpp
   YamlSymbolDumper.cpp
   YamlTypeDumper.cpp
-  CompilandDumper.cpp
-  EnumDumper.cpp
-  ExternalSymbolDumper.cpp
-  FunctionDumper.cpp
   LinePrinter.cpp
   LLVMOutputStyle.cpp
   PdbYaml.cpp
-  TypeDumper.cpp
-  TypedefDumper.cpp
-  VariableDumper.cpp
+  PrettyBuiltinDumper.cpp
+  PrettyClassDefinitionDumper.cpp
+  PrettyCompilandDumper.cpp
+  PrettyEnumDumper.cpp
+  PrettyExternalSymbolDumper.cpp
+  PrettyFunctionDumper.cpp
+  PrettyTypeDumper.cpp
+  PrettyTypedefDumper.cpp
+  PrettyVariableDumper.cpp
   YAMLOutputStyle.cpp
   )
 
index 72a3fd4aba5c96f26743b6fbbce8b2a71c79d220..9b3acac13bb8c9b4ca7423ac47843175af7a3d65 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "OutputStyle.h"
 
-#include "llvm/DebugInfo/CodeView/TypeDumper.h"
+#include "llvm/DebugInfo/CodeView/CVTypeDumper.h"
 #include "llvm/Support/ScopedPrinter.h"
 
 namespace llvm {
similarity index 95%
rename from tools/llvm-pdbdump/BuiltinDumper.cpp
rename to tools/llvm-pdbdump/PrettyBuiltinDumper.cpp
index 2ce1a78391102d1d2951c60f457c8cad5927bf96..f866132aa8866a4933ace6c1e916162d5a4e5988 100644 (file)
@@ -1,4 +1,4 @@
-//===- BuiltinDumper.cpp ---------------------------------------- *- C++ *-===//
+//===- PrettyBuiltinDumper.cpp ---------------------------------- *- C++ *-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "BuiltinDumper.h"
+#include "PrettyBuiltinDumper.h"
 #include "LinePrinter.h"
 #include "llvm-pdbdump.h"
 
similarity index 79%
rename from tools/llvm-pdbdump/BuiltinDumper.h
rename to tools/llvm-pdbdump/PrettyBuiltinDumper.h
index 7a2f1438669c3a251e8b699a38afb68706f02d08..fb6b0b172e6ebd96bdfceec72bc3a7203660b603 100644 (file)
@@ -1,4 +1,4 @@
-//===- BuiltinDumper.h ---------------------------------------- *- C++ --*-===//
+//===- PrettyBuiltinDumper.h ---------------------------------- *- C++ --*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,8 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_TOOLS_LLVMPDBDUMP_BUILTINDUMPER_H
-#define LLVM_TOOLS_LLVMPDBDUMP_BUILTINDUMPER_H
+#ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYBUILTINDUMPER_H
+#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYBUILTINDUMPER_H
 
 #include "llvm/ADT/StringRef.h"
 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
similarity index 96%
rename from tools/llvm-pdbdump/ClassDefinitionDumper.cpp
rename to tools/llvm-pdbdump/PrettyClassDefinitionDumper.cpp
index 553bc0b267c2ef7beca2dea63e917cb72d3f3180..b0c534f7c5b17d8e4e6c51ae356a24e3db743752 100644 (file)
@@ -1,4 +1,4 @@
-//===- ClassDefinitionDumper.cpp --------------------------------*- C++ -*-===//
+//===- PrettyClassDefinitionDumper.cpp --------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,13 +7,14 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "ClassDefinitionDumper.h"
-#include "EnumDumper.h"
-#include "FunctionDumper.h"
+#include "PrettyClassDefinitionDumper.h"
+
 #include "LinePrinter.h"
+#include "PrettyEnumDumper.h"
+#include "PrettyFunctionDumper.h"
+#include "PrettyTypedefDumper.h"
+#include "PrettyVariableDumper.h"
 #include "llvm-pdbdump.h"
-#include "TypedefDumper.h"
-#include "VariableDumper.h"
 
 #include "llvm/DebugInfo/PDB/IPDBSession.h"
 #include "llvm/DebugInfo/PDB/PDBExtras.h"
similarity index 90%
rename from tools/llvm-pdbdump/ClassDefinitionDumper.h
rename to tools/llvm-pdbdump/PrettyClassDefinitionDumper.h
index 304e11dcb6c997c99158dc8b029455e70afae186..0831f47557ed6c0b3ced3ee41542537cef7f9427 100644 (file)
@@ -1,4 +1,4 @@
-//===- ClassDefinitionDumper.h - --------------------------------*- C++ -*-===//
+//===- PrettyClassDefinitionDumper.h ----------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,12 +7,12 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_TOOLS_LLVMPDBDUMP_CLASSDEFINITIONDUMPER_H
-#define LLVM_TOOLS_LLVMPDBDUMP_CLASSDEFINITIONDUMPER_H
+#ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYCLASSDEFINITIONDUMPER_H
+#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYCLASSDEFINITIONDUMPER_H
 
 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
-#include "llvm/DebugInfo/PDB/PDBSymbolFunc.h"
 #include "llvm/DebugInfo/PDB/PDBSymbolData.h"
+#include "llvm/DebugInfo/PDB/PDBSymbolFunc.h"
 
 #include <list>
 #include <memory>
similarity index 97%
rename from tools/llvm-pdbdump/CompilandDumper.cpp
rename to tools/llvm-pdbdump/PrettyCompilandDumper.cpp
index 05141818660e56002c83f00c67ff3492abe78e01..6257313e3e1aadbf5d8d0b8ed3703f8e995919d3 100644 (file)
@@ -1,4 +1,4 @@
-//===- CompilandDumper.cpp - llvm-pdbdump compiland symbol dumper *- C++ *-===//
+//===- PrettyCompilandDumper.cpp - llvm-pdbdump compiland dumper -*- C++ *-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,8 +7,10 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "CompilandDumper.h"
+#include "PrettyCompilandDumper.h"
+
 #include "LinePrinter.h"
+#include "PrettyFunctionDumper.h"
 #include "llvm-pdbdump.h"
 
 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
@@ -30,8 +32,6 @@
 #include "llvm/Support/Path.h"
 #include "llvm/Support/raw_ostream.h"
 
-#include "FunctionDumper.h"
-
 #include <utility>
 
 using namespace llvm;
similarity index 86%
rename from tools/llvm-pdbdump/CompilandDumper.h
rename to tools/llvm-pdbdump/PrettyCompilandDumper.h
index 462aaeb2611fe6bff35b66a618070895a30bfc30..2127e7d1f5295edec12262c934db2b99a4009c52 100644 (file)
@@ -1,4 +1,4 @@
-//===- CompilandDumper.h - llvm-pdbdump compiland symbol dumper *- C++ --*-===//
+//===- PrettyCompilandDumper.h - llvm-pdbdump compiland dumper -*- C++ --*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,8 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_TOOLS_LLVMPDBDUMP_COMPILANDDUMPER_H
-#define LLVM_TOOLS_LLVMPDBDUMP_COMPILANDDUMPER_H
+#ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYCOMPILANDDUMPER_H
+#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYCOMPILANDDUMPER_H
 
 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
 
similarity index 92%
rename from tools/llvm-pdbdump/EnumDumper.cpp
rename to tools/llvm-pdbdump/PrettyEnumDumper.cpp
index 43b6018ffedf38e0fef19028b1b72a152babef7b..965ca1b9f989ba87a7c7782f7874aae8f3736f76 100644 (file)
@@ -1,4 +1,4 @@
-//===- EnumDumper.cpp -------------------------------------------*- C++ -*-===//
+//===- PrettyEnumDumper.cpp -------------------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,10 +7,10 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "EnumDumper.h"
+#include "PrettyEnumDumper.h"
 
-#include "BuiltinDumper.h"
 #include "LinePrinter.h"
+#include "PrettyBuiltinDumper.h"
 #include "llvm-pdbdump.h"
 
 #include "llvm/DebugInfo/PDB/PDBSymbolData.h"
similarity index 77%
rename from tools/llvm-pdbdump/EnumDumper.h
rename to tools/llvm-pdbdump/PrettyEnumDumper.h
index 0a34e1f89ada0bb2b4ebabc735b7b9076b0d2806..c6e65a6d1772a126d0754294189d507abdb2ba4a 100644 (file)
@@ -1,4 +1,4 @@
-//===- EnumDumper.h - -------------------------------------------*- C++ -*-===//
+//===- PrettyEnumDumper.h ---------------------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,8 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_TOOLS_LLVMPDBDUMP_ENUMDUMPER_H
-#define LLVM_TOOLS_LLVMPDBDUMP_ENUMDUMPER_H
+#ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYENUMDUMPER_H
+#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYENUMDUMPER_H
 
 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
 
similarity index 92%
rename from tools/llvm-pdbdump/ExternalSymbolDumper.cpp
rename to tools/llvm-pdbdump/PrettyExternalSymbolDumper.cpp
index 508a2405772e48c18c994dcfe111980d0f7111c0..fc40d90cee96ff78bb5e9b5d573fa4eec28df8a7 100644 (file)
@@ -1,4 +1,4 @@
-//===- ExternalSymbolDumper.cpp -------------------------------- *- C++ *-===//
+//===- PrettyExternalSymbolDumper.cpp -------------------------- *- C++ *-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "ExternalSymbolDumper.h"
+#include "PrettyExternalSymbolDumper.h"
 #include "LinePrinter.h"
 
 #include "llvm/DebugInfo/PDB/PDBSymbolExe.h"
similarity index 77%
rename from tools/llvm-pdbdump/ExternalSymbolDumper.h
rename to tools/llvm-pdbdump/PrettyExternalSymbolDumper.h
index b44b8a6fe98ae10a353c3ae77aee0067c563777e..6a009862ddd4609fe5692e982c79f01f79c1bb6b 100644 (file)
@@ -1,4 +1,4 @@
-//===- ExternalSymbolDumper.h --------------------------------- *- C++ --*-===//
+//===- PrettyExternalSymbolDumper.h --------------------------- *- C++ --*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,8 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_TOOLS_LLVMPDBDUMP_EXTERNALSYMBOLDUMPER_H
-#define LLVM_TOOLS_LLVMPDBDUMP_EXTERNALSYMBOLDUMPER_H
+#ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYEXTERNALSYMBOLDUMPER_H
+#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYEXTERNALSYMBOLDUMPER_H
 
 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
 
similarity index 98%
rename from tools/llvm-pdbdump/FunctionDumper.cpp
rename to tools/llvm-pdbdump/PrettyFunctionDumper.cpp
index 29ba15d521f0e213b0bc63efa3e9917730c9dba1..2f6ca894fadf30e82d7e90cec4eec7a426348503 100644 (file)
@@ -1,4 +1,4 @@
-//===- FunctionDumper.cpp ------------------------------------ *- C++ *-===//
+//===- PrettyFunctionDumper.cpp --------------------------------- *- C++ *-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,9 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "FunctionDumper.h"
-#include "BuiltinDumper.h"
+#include "PrettyFunctionDumper.h"
 #include "LinePrinter.h"
+#include "PrettyBuiltinDumper.h"
 #include "llvm-pdbdump.h"
 
 #include "llvm/DebugInfo/PDB/IPDBSession.h"
similarity index 86%
rename from tools/llvm-pdbdump/FunctionDumper.h
rename to tools/llvm-pdbdump/PrettyFunctionDumper.h
index c71fafa18ed3b9e70c2a7b7bb668c0d88dc93b99..1a6f5430ec5abb0de1d552af45ab43bc52f2b921 100644 (file)
@@ -1,4 +1,4 @@
-//===- FunctionDumper.h --------------------------------------- *- C++ --*-===//
+//===- PrettyFunctionDumper.h --------------------------------- *- C++ --*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,8 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_TOOLS_LLVMPDBDUMP_FUNCTIONDUMPER_H
-#define LLVM_TOOLS_LLVMPDBDUMP_FUNCTIONDUMPER_H
+#ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYFUNCTIONDUMPER_H
+#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYFUNCTIONDUMPER_H
 
 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
 
similarity index 92%
rename from tools/llvm-pdbdump/TypeDumper.cpp
rename to tools/llvm-pdbdump/PrettyTypeDumper.cpp
index a49d6404555392585015faf3dc3588bb93eecb20..4f70c8047337a606bd400e9f068f8241e8272cda 100644 (file)
@@ -1,4 +1,4 @@
-//===- TypeDumper.cpp - PDBSymDumper implementation for types *----- C++ *-===//
+//===- PrettyTypeDumper.cpp - PDBSymDumper type dumper *------------ C++ *-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,14 +7,14 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "TypeDumper.h"
+#include "PrettyTypeDumper.h"
 
-#include "BuiltinDumper.h"
-#include "ClassDefinitionDumper.h"
-#include "EnumDumper.h"
 #include "LinePrinter.h"
+#include "PrettyBuiltinDumper.h"
+#include "PrettyClassDefinitionDumper.h"
+#include "PrettyEnumDumper.h"
+#include "PrettyTypedefDumper.h"
 #include "llvm-pdbdump.h"
-#include "TypedefDumper.h"
 
 #include "llvm/DebugInfo/PDB/IPDBSession.h"
 #include "llvm/DebugInfo/PDB/PDBSymbolExe.h"
similarity index 79%
rename from tools/llvm-pdbdump/TypeDumper.h
rename to tools/llvm-pdbdump/PrettyTypeDumper.h
index 76a477964f1f78031ced86c7d7fa5ff175e9ab5b..f9d8304c3208e8e9b1b5dece195847ad4a24323e 100644 (file)
@@ -1,4 +1,4 @@
-//===- TypeDumper.h - PDBSymDumper implementation for types *- C++ ------*-===//
+//===- PrettyTypeDumper.h - PDBSymDumper implementation for types *- C++ *-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,8 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_TOOLS_LLVMPDBDUMP_TYPEDUMPER_H
-#define LLVM_TOOLS_LLVMPDBDUMP_TYPEDUMPER_H
+#ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYTYPEDUMPER_H
+#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYTYPEDUMPER_H
 
 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
 
similarity index 94%
rename from tools/llvm-pdbdump/TypedefDumper.cpp
rename to tools/llvm-pdbdump/PrettyTypedefDumper.cpp
index b1e017613ce12834387369ef444ff8412a1c52e3..c458755cb7806a875bba704914dbc70889e9ef89 100644 (file)
@@ -1,4 +1,4 @@
-//===- TypedefDumper.cpp - PDBSymDumper impl for typedefs -------- * C++ *-===//
+//===- PrettyTypedefDumper.cpp - PDBSymDumper impl for typedefs -- * C++ *-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,11 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "TypedefDumper.h"
+#include "PrettyTypedefDumper.h"
 
-#include "BuiltinDumper.h"
-#include "FunctionDumper.h"
 #include "LinePrinter.h"
+#include "PrettyBuiltinDumper.h"
+#include "PrettyFunctionDumper.h"
 #include "llvm-pdbdump.h"
 
 #include "llvm/DebugInfo/PDB/IPDBSession.h"
similarity index 84%
rename from tools/llvm-pdbdump/TypedefDumper.h
rename to tools/llvm-pdbdump/PrettyTypedefDumper.h
index c22b58a7e41e4dea29f4fbb778ee02314f0a028b..34c139601301f703583921d297669abf6bdbadf7 100644 (file)
@@ -1,4 +1,4 @@
-//===- TypedefDumper.h - llvm-pdbdump typedef dumper ---------*- C++ ----*-===//
+//===- PrettyTypedefDumper.h - llvm-pdbdump typedef dumper ---*- C++ ----*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,8 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_TOOLS_LLVMPDBDUMP_TYPEDEFDUMPER_H
-#define LLVM_TOOLS_LLVMPDBDUMP_TYPEDEFDUMPER_H
+#ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYTYPEDEFDUMPER_H
+#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYTYPEDEFDUMPER_H
 
 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
 
similarity index 97%
rename from tools/llvm-pdbdump/VariableDumper.cpp
rename to tools/llvm-pdbdump/PrettyVariableDumper.cpp
index 284d7e9b731f93d966da6a85f41789ad083746ed..e1469186ad8b541eba61b4d1960487c6b675b8a3 100644 (file)
@@ -1,4 +1,4 @@
-//===- VariableDumper.cpp - -------------------------------------*- C++ -*-===//
+//===- PrettyVariableDumper.cpp ---------------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,21 +7,21 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "VariableDumper.h"
+#include "PrettyVariableDumper.h"
 
-#include "BuiltinDumper.h"
 #include "LinePrinter.h"
+#include "PrettyBuiltinDumper.h"
+#include "PrettyFunctionDumper.h"
 #include "llvm-pdbdump.h"
-#include "FunctionDumper.h"
 
 #include "llvm/DebugInfo/PDB/PDBSymbolData.h"
 #include "llvm/DebugInfo/PDB/PDBSymbolFunc.h"
 #include "llvm/DebugInfo/PDB/PDBSymbolTypeArray.h"
 #include "llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h"
+#include "llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h"
 #include "llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h"
 #include "llvm/DebugInfo/PDB/PDBSymbolTypePointer.h"
 #include "llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h"
-#include "llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h"
 #include "llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h"
 
 #include "llvm/Support/Format.h"
similarity index 86%
rename from tools/llvm-pdbdump/VariableDumper.h
rename to tools/llvm-pdbdump/PrettyVariableDumper.h
index 4f00358878c94678e39e04fccac7c4a39d0e40f7..a122bb86058cfd0f2bd9b1c75a842ec160641b80 100644 (file)
@@ -1,4 +1,4 @@
-//===- VariableDumper.h - PDBSymDumper implementation for types -*- C++ -*-===//
+//===- PrettyVariableDumper.h - PDBSymDumper variable dumper ----*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,8 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_TOOLS_LLVMPDBDUMP_VARIABLEDUMPER_H
-#define LLVM_TOOLS_LLVMPDBDUMP_VARIABLEDUMPER_H
+#ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYVARIABLEDUMPER_H
+#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYVARIABLEDUMPER_H
 
 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
 
index 540dee4121e6e274ec367e5a57aa7ae493cf6a61..3cd603a95b6a3213935d43b10280cda0cf4ebbc4 100644 (file)
@@ -13,7 +13,7 @@
 #include "OutputStyle.h"
 #include "PdbYaml.h"
 
-#include "llvm/DebugInfo/CodeView/TypeDumper.h"
+#include "llvm/DebugInfo/CodeView/CVTypeDumper.h"
 #include "llvm/Support/ScopedPrinter.h"
 #include "llvm/Support/YAMLTraits.h"
 
index b356a28d2189da4a53e91b8b230aefcfc388f40b..d3495e524abcf8733d67cc0dd9e0ab13b7251325 100644 (file)
 //===----------------------------------------------------------------------===//
 
 #include "llvm-pdbdump.h"
-#include "CompilandDumper.h"
-#include "ExternalSymbolDumper.h"
-#include "FunctionDumper.h"
 #include "LLVMOutputStyle.h"
 #include "LinePrinter.h"
 #include "OutputStyle.h"
-#include "TypeDumper.h"
-#include "VariableDumper.h"
+#include "PrettyCompilandDumper.h"
+#include "PrettyExternalSymbolDumper.h"
+#include "PrettyFunctionDumper.h"
+#include "PrettyTypeDumper.h"
+#include "PrettyVariableDumper.h"
 #include "YAMLOutputStyle.h"
 
 #include "llvm/ADT/ArrayRef.h"
index 0ca186519cd24290db474bcf12f67c6cb68fcbae..62df5b04f14988101a9eb918a3a6ff57c3ae6140 100644 (file)
@@ -22,6 +22,7 @@
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/SmallString.h"
 #include "llvm/ADT/StringExtras.h"
+#include "llvm/DebugInfo/CodeView/CVTypeDumper.h"
 #include "llvm/DebugInfo/CodeView/CodeView.h"
 #include "llvm/DebugInfo/CodeView/Line.h"
 #include "llvm/DebugInfo/CodeView/RecordSerialization.h"
@@ -29,7 +30,6 @@
 #include "llvm/DebugInfo/CodeView/SymbolDumpDelegate.h"
 #include "llvm/DebugInfo/CodeView/SymbolDumper.h"
 #include "llvm/DebugInfo/CodeView/SymbolRecord.h"
-#include "llvm/DebugInfo/CodeView/TypeDumper.h"
 #include "llvm/DebugInfo/CodeView/TypeIndex.h"
 #include "llvm/DebugInfo/CodeView/TypeRecord.h"
 #include "llvm/DebugInfo/CodeView/TypeStreamMerger.h"