summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-02-08 00:41:31 +0000
committerZachary Turner <zturner@google.com>2015-02-08 00:41:31 +0000
commit92545a03dfb8d4360738828ec7dcfcbed5d372fc (patch)
tree0b9c99886ee2be8bb3aec85991a8aedaebfc5a8d /llvm/lib
parent21473f7bb613dd8e0fae47a5fb065e3d9a0da543 (diff)
downloadbcm5719-llvm-92545a03dfb8d4360738828ec7dcfcbed5d372fc.tar.gz
bcm5719-llvm-92545a03dfb8d4360738828ec7dcfcbed5d372fc.zip
Removed unused function mistakenly left in, triggering -Werror.
llvm-svn: 228517
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/DebugInfo/PDB/PDBSymbolExe.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/llvm/lib/DebugInfo/PDB/PDBSymbolExe.cpp b/llvm/lib/DebugInfo/PDB/PDBSymbolExe.cpp
index cf7dc804aaa..033c552fafc 100644
--- a/llvm/lib/DebugInfo/PDB/PDBSymbolExe.cpp
+++ b/llvm/lib/DebugInfo/PDB/PDBSymbolExe.cpp
@@ -15,29 +15,8 @@
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/raw_ostream.h"
-#if defined(_WIN32)
-#include <windows.h>
-#endif
-
using namespace llvm;
-namespace {
-std::string GuidToString(PDB_UniqueId *Id) {
-#if defined(_WIN32)
- GUID *Guid = reinterpret_cast<GUID *>(Id);
- OLECHAR GuidBuf[40];
- int Result = StringFromGUID2(*Guid, GuidBuf, 39);
- const char *InputBytes = reinterpret_cast<const char *>(GuidBuf);
- std::string ResultString;
- convertUTF16ToUTF8String(ArrayRef<char>(InputBytes, Result * 2),
- ResultString);
- return ResultString;
-#else
- return std::string();
-#endif
-}
-}
-
PDBSymbolExe::PDBSymbolExe(std::unique_ptr<IPDBRawSymbol> Symbol)
: PDBSymbol(std::move(Symbol)) {}
OpenPOWER on IntegriCloud