[Lldb-commits] [PATCH] D111816: [lldb] Remove logging from Platform::~Platform
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 14 11:43:18 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe632e900ac10: [lldb] Remove logging from Platform::~Platform (authored by teemperor).
Herald added a subscriber: lldb-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111816/new/
https://reviews.llvm.org/D111816
Files:
lldb/include/lldb/Target/Platform.h
lldb/source/Target/Platform.cpp
Index: lldb/source/Target/Platform.cpp
===================================================================
--- lldb/source/Target/Platform.cpp
+++ lldb/source/Target/Platform.cpp
@@ -395,15 +395,6 @@
LLDB_LOGF(log, "%p Platform::Platform()", static_cast<void *>(this));
}
-/// Destructor.
-///
-/// The destructor is virtual since this class is designed to be
-/// inherited from by the plug-in instance.
-Platform::~Platform() {
- Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_OBJECT));
- LLDB_LOGF(log, "%p Platform::~Platform()", static_cast<void *>(this));
-}
-
void Platform::GetStatus(Stream &strm) {
std::string s;
strm.Printf(" Platform: %s\n", GetPluginName().GetCString());
Index: lldb/include/lldb/Target/Platform.h
===================================================================
--- lldb/include/lldb/Target/Platform.h
+++ lldb/include/lldb/Target/Platform.h
@@ -73,11 +73,9 @@
/// Default Constructor
Platform(bool is_host_platform);
- /// Destructor.
- ///
/// The destructor is virtual since this class is designed to be inherited
/// from by the plug-in instance.
- ~Platform() override;
+ ~Platform() override = default;
static void Initialize();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111816.379794.patch
Type: text/x-patch
Size: 1223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211014/a223e786/attachment.bin>
More information about the lldb-commits
mailing list