[Lldb-commits] [lldb] r237178 - Platform settings doesn't need permission options.

Chaoren Lin chaorenl at google.com
Tue May 12 14:06:48 PDT 2015


Author: chaoren
Date: Tue May 12 16:06:48 2015
New Revision: 237178

URL: http://llvm.org/viewvc/llvm-project?rev=237178&view=rev
Log:
Platform settings doesn't need permission options.

Summary:
Also removes conflict error message for '-w' between
--user-write and --working-dir.

Reviewers: flackr, clayborg

Reviewed By: clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D9711

Modified:
    lldb/trunk/source/Commands/CommandObjectPlatform.cpp

Modified: lldb/trunk/source/Commands/CommandObjectPlatform.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectPlatform.cpp?rev=237178&r1=237177&r2=237178&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectPlatform.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectPlatform.cpp Tue May 12 16:06:48 2015
@@ -572,10 +572,7 @@ protected:
     GetOptions ()
     {
         if (m_options.DidFinalize() == false)
-        {
-            m_options.Append(new OptionPermissions());
             m_options.Finalize();
-        }
         return &m_options;
     }
 protected:





More information about the lldb-commits mailing list