diff --git a/llvm/lib/Demangle/MicrosoftDemangle.cpp b/llvm/lib/Demangle/MicrosoftDemangle.cpp index bd7faa31c804..ff76fb0f3230 100644 --- a/llvm/lib/Demangle/MicrosoftDemangle.cpp +++ b/llvm/lib/Demangle/MicrosoftDemangle.cpp @@ -520,17 +520,6 @@ Demangler::demangleRttiBaseClassDescriptorNode(ArenaAllocator &Arena, return VSN; } -void dump(Node *N) { - OutputStream OS = OutputStream::create(nullptr, nullptr, 1024); - N->output(OS, OF_Default); - OS << '\0'; - char *Name = OS.getBuffer(); - - printf(Name); - printf("\n"); - std::free(Name); -} - FunctionSymbolNode *Demangler::demangleInitFiniStub(StringView &MangledName, bool IsDestructor) { DynamicStructorIdentifierNode *DSIN =