From e3b557809604d036af6e00c60f012c2025b59a5e Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 11 Feb 2023 13:38:04 +0100 Subject: Vendor import of llvm-project main llvmorg-16-init-18548-gb0daacf58f41, the last commit before the upstream release/17.x branch was created. --- .../BSD-Archive/ObjectContainerBSDArchive.cpp | 24 ---------------------- 1 file changed, 24 deletions(-) (limited to 'lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp') diff --git a/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp b/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp index 9fe222eceedc..957ecc223405 100644 --- a/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp +++ b/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp @@ -511,30 +511,6 @@ bool ObjectContainerBSDArchive::ParseHeader() { return m_archive_sp.get() != nullptr; } -void ObjectContainerBSDArchive::Dump(Stream *s) const { - s->Printf("%p: ", static_cast(this)); - s->Indent(); - const size_t num_archs = GetNumArchitectures(); - const size_t num_objects = GetNumObjects(); - s->Printf("ObjectContainerBSDArchive, num_archs = %" PRIu64 - ", num_objects = %" PRIu64 "", - (uint64_t)num_archs, (uint64_t)num_objects); - uint32_t i; - ArchSpec arch; - s->IndentMore(); - for (i = 0; i < num_archs; i++) { - s->Indent(); - GetArchitectureAtIndex(i, arch); - s->Printf("arch[%u] = %s\n", i, arch.GetArchitectureName()); - } - for (i = 0; i < num_objects; i++) { - s->Indent(); - s->Printf("object[%u] = %s\n", i, GetObjectNameAtIndex(i)); - } - s->IndentLess(); - s->EOL(); -} - FileSpec GetChildFileSpecificationsFromThin(llvm::StringRef childPath, const FileSpec &parentFileSpec) { llvm::SmallString<128> FullPath; -- cgit v1.3