Update ExpressionSourceCode::GetText() to match the
authorJason Molenda <jmolenda@apple.com>
Thu, 22 Jan 2015 06:31:58 +0000 (06:31 +0000)
committerJason Molenda <jmolenda@apple.com>
Thu, 22 Jan 2015 06:31:58 +0000 (06:31 +0000)
name of the iOS simulator platform which was changed
in r181631.
<rdar://problem/19200084>

llvm-svn: 226789

lldb/source/Expression/ExpressionSourceCode.cpp

index ec9efae..b3f335f 100644 (file)
@@ -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())
     {