[Lldb-commits] [PATCH] Fix log file generation in lldb-mi.
Hafiz Abid Qadeer
abidh.haq at gmail.com
Mon Feb 2 06:44:55 PST 2015
When it runs, lldb-mi creates a log file. There is an option --noLog to disable the creation but it does not work and you end up with log file. This happens as log is enabled in a few places in the code although it has been disabled by this option.
This revision tried to fix the problem in the following way.
1. Log file generation is disabled by default.
2. You can enable it by giving --log option. It is the only way to enable it. Rest of the call have been removed.
So the code basically remove the calls that enable the log unconditionally and changes the option --noLog to --log.
http://reviews.llvm.org/D7344
Files:
tools/lldb-mi/MICmnLog.cpp
tools/lldb-mi/MICmnResources.cpp
tools/lldb-mi/MICmnResources.h
tools/lldb-mi/MIDriverMgr.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7344.19151.patch
Type: text/x-patch
Size: 4900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150202/eeb20e97/attachment.bin>
More information about the lldb-commits
mailing list