[Lldb-commits] [lldb] r181694 - Add a new constructor with ConstString (and not only const char *). Hopefully fixes the build of lldb

Sylvestre Ledru sylvestre at debian.org
Mon May 13 02:43:11 PDT 2013


Author: sylvestre
Date: Mon May 13 04:43:11 2013
New Revision: 181694

URL: http://llvm.org/viewvc/llvm-project?rev=181694&view=rev
Log:
Add a new constructor with ConstString (and not only const char *). Hopefully fixes the build of lldb

Modified:
    lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIXLog.h

Modified: lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIXLog.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIXLog.h?rev=181694&r1=181693&r2=181694&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIXLog.h (original)
+++ lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIXLog.h Mon May 13 04:43:11 2013
@@ -49,6 +49,11 @@ public:
         m_pluginname = pluginName;
     }
 
+    static void
+    RegisterPluginName(lldb_private::ConstString pluginName)
+        {
+            m_pluginname = pluginName.GetCString();
+        }
 
     static lldb_private::Log *
     GetLogIfAllCategoriesSet(uint32_t mask = 0);





More information about the lldb-commits mailing list