diff options
| author | Pavel Labath <pavel@labath.sk> | 2022-01-31 15:57:48 +0100 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2022-02-02 14:13:08 +0100 |
| commit | a007a6d84471bb956abe10974cac3066799f583f (patch) | |
| tree | bfa09e71cc1ce894d3a1e7cab572c21eeaaf4117 /lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp | |
| parent | 574ad2a84626ffb0e7a64559e9862f20aadc013a (diff) | |
[lldb] Convert "LLDB" log channel to the new API
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp')
| -rw-r--r-- | lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp index a9033d142a18..b6ced65e5b5d 100644 --- a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp +++ b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp @@ -155,7 +155,7 @@ void DynamicLoaderMacOS::ClearNotificationBreakpoint() { // (available on SnowLeopard only). If that fails, then check in the default // addresses. void DynamicLoaderMacOS::DoInitialImageFetch() { - Log *log(lldb_private::GetLogIfAnyCategoriesSet(LIBLLDB_LOG_DYNAMIC_LOADER)); + Log *log = GetLog(LLDBLog::DynamicLoader); // Remove any binaries we pre-loaded in the Target before // launching/attaching. If the same binaries are present in the process, @@ -310,7 +310,7 @@ bool DynamicLoaderMacOS::NotifyBreakpointHit(void *baton, void DynamicLoaderMacOS::AddBinaries( const std::vector<lldb::addr_t> &load_addresses) { - Log *log(lldb_private::GetLogIfAnyCategoriesSet(LIBLLDB_LOG_DYNAMIC_LOADER)); + Log *log = GetLog(LLDBLog::DynamicLoader); ImageInfo::collection image_infos; LLDB_LOGF(log, "Adding %" PRId64 " modules.", |
