[Lldb-commits] [PATCH] D29514: Change Error::PutToLog to LLDB_LOG_ERROR

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 3 13:36:49 PST 2017


zturner created this revision.

Instead of having the Error class (which is in Utility) know about logging (which is in Core), it seems more appropriate to put all logging code together, and teach Log about errors rather than teaching Error about logs.  This patch does so.


https://reviews.llvm.org/D29514

Files:
  lldb/include/lldb/Core/Log.h
  lldb/include/lldb/Utility/Error.h
  lldb/source/Core/Communication.cpp
  lldb/source/Host/common/Host.cpp
  lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp
  lldb/source/Utility/Error.cpp
  llvm/include/llvm/Support/FormatProviders.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29514.87013.patch
Type: text/x-patch
Size: 18240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170203/41353f74/attachment.bin>


More information about the lldb-commits mailing list