mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Macros] Diagnose how ExternalMacroDefinition request was failed
Return the failure reason as the result.
This commit is contained in:
@@ -30,7 +30,7 @@ static StringRef sandboxProfile(llvm::BumpPtrAllocator &Alloc) {
|
||||
// This is required to launch any processes (execve(2)).
|
||||
contents += "(allow process-exec*)\n";
|
||||
|
||||
return NullTerminatedStringRef(contents, Alloc);
|
||||
return NullTerminatedStringRef(StringRef(contents), Alloc);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user