File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Plugins/LanguageRuntime/Swift Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1248,6 +1248,7 @@ typedef int (*posix_spawnattr_setarchpref_np_t)(
1248
1248
const char *tmp_argv[2 ];
1249
1249
char *const *argv = const_cast <char *const *>(
1250
1250
launch_info.GetArguments ().GetConstArgumentVector ());
1251
+
1251
1252
Environment::Envp envp = launch_info.GetEnvironment ().getEnvp ();
1252
1253
if (argv == NULL ) {
1253
1254
// posix_spawn gets very unhappy if it doesn't have at least the program
Original file line number Diff line number Diff line change @@ -204,9 +204,10 @@ class TargetReflectionContext : public ReflectionContextInterface {
204
204
auto type_info = m_reflection_ctx.getTypeInfo (&type_ref, provider);
205
205
if (!type_info) {
206
206
std::stringstream ss;
207
+ ss << " Could not find type info for " ;
207
208
type_ref.dump (ss);
208
- return llvm::createStringError ( " Could not get type info for typeref: " +
209
- ss.str ());
209
+ ss << " in reflection metadata " ;
210
+ return llvm::createStringError ( ss.str ());
210
211
}
211
212
212
213
if (log && log->GetVerbose ()) {
You can’t perform that action at this time.
0 commit comments