[Lldb-commits] [lldb] r226789 - Update ExpressionSourceCode::GetText() to match the

Jason Molenda jmolenda at apple.com
Wed Jan 21 22:31:59 PST 2015


Author: jmolenda
Date: Thu Jan 22 00:31:58 2015
New Revision: 226789

URL: http://llvm.org/viewvc/llvm-project?rev=226789&view=rev
Log:
Update ExpressionSourceCode::GetText() to match the
name of the iOS simulator platform which was changed
in r181631.
<rdar://problem/19200084> 

Modified:
    lldb/trunk/source/Expression/ExpressionSourceCode.cpp

Modified: lldb/trunk/source/Expression/ExpressionSourceCode.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ExpressionSourceCode.cpp?rev=226789&r1=226788&r2=226789&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ExpressionSourceCode.cpp (original)
+++ lldb/trunk/source/Expression/ExpressionSourceCode.cpp Thu Jan 22 00:31:58 2015
@@ -51,7 +51,7 @@ extern "C"
 bool ExpressionSourceCode::GetText (std::string &text, lldb::LanguageType wrapping_language, bool const_object, bool static_method, ExecutionContext &exe_ctx) const
 {
     const char *target_specific_defines = "typedef signed char BOOL;\n";
-    static ConstString g_platform_ios_simulator ("PlatformiOSSimulator");
+    static ConstString g_platform_ios_simulator ("ios-simulator");
     
     if (Target *target = exe_ctx.GetTargetPtr())
     {





More information about the lldb-commits mailing list