[llvm] r230186 - [llvm-pdbdump] Fix a few compilation failures.
Zachary Turner
zturner at google.com
Sun Feb 22 14:20:27 PST 2015
Author: zturner
Date: Sun Feb 22 16:20:26 2015
New Revision: 230186
URL: http://llvm.org/viewvc/llvm-project?rev=230186&view=rev
Log:
[llvm-pdbdump] Fix a few compilation failures.
Modified:
llvm/trunk/tools/llvm-pdbdump/FunctionDumper.cpp
llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp
Modified: llvm/trunk/tools/llvm-pdbdump/FunctionDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/FunctionDumper.cpp?rev=230186&r1=230185&r2=230186&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/FunctionDumper.cpp (original)
+++ llvm/trunk/tools/llvm-pdbdump/FunctionDumper.cpp Sun Feb 22 16:20:26 2015
@@ -20,6 +20,8 @@
#include "llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h"
#include "llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h"
+using namespace llvm;
+
namespace {
template <class T>
void dumpClassParentWithScopeOperator(const T &Symbol, llvm::raw_ostream &OS,
@@ -35,8 +37,6 @@ void dumpClassParentWithScopeOperator(co
}
}
-using namespace llvm;
-
FunctionDumper::FunctionDumper() : PDBSymDumper(true) {}
void FunctionDumper::start(const PDBSymbolTypeFunctionSig &Symbol,
Modified: llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp?rev=230186&r1=230185&r2=230186&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp (original)
+++ llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp Sun Feb 22 16:20:26 2015
@@ -83,7 +83,6 @@ static void dumpInput(StringRef Path) {
if (GlobalScope->hasPrivateSymbols())
outs() << "HasPrivateSymbols ";
- PDB_DumpFlags Flags = PDB_DF_None;
if (opts::DumpTypes) {
outs() << "\nDumping types";
TypeDumper Dumper;
More information about the llvm-commits
mailing list