Keep launch info up to date when accessors are called directly (not through "settings set").

<rdar://problem/20300941>

llvm-svn: 233233
This commit is contained in:
Greg Clayton 2015-03-26 00:15:24 +00:00
parent d2c1bf638b
commit 896e0ecd16
1 changed files with 3 additions and 0 deletions

View File

@ -3253,6 +3253,7 @@ TargetProperties::SetArg0 (const char *arg)
{
const uint32_t idx = ePropertyArg0;
m_collection_sp->SetPropertyAtIndexAsString (NULL, idx, arg);
m_launch_info.SetArg0(arg);
}
bool
@ -3267,6 +3268,7 @@ TargetProperties::SetRunArguments (const Args &args)
{
const uint32_t idx = ePropertyRunArgs;
m_collection_sp->SetPropertyAtIndexFromArgs (NULL, idx, args);
m_launch_info.GetArguments() = args;
}
size_t
@ -3281,6 +3283,7 @@ TargetProperties::SetEnvironmentFromArgs (const Args &env)
{
const uint32_t idx = ePropertyEnvVars;
m_collection_sp->SetPropertyAtIndexFromArgs (NULL, idx, env);
m_launch_info.GetEnvironmentEntries() = env;
}
bool