From 3e95d12ee32721229765bda55c2c2bb0d07ba76e Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Wed, 14 Oct 2020 08:57:54 -0700 Subject: [PATCH] Update worker docstring with example This comment made it sound like this shouldn't ever happen, but if you pass `-rpath @loader_path/something` you will always hit this case. --- tools/worker/swift_runner.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/worker/swift_runner.cc b/tools/worker/swift_runner.cc index eca0f2993..3f9be34dd 100644 --- a/tools/worker/swift_runner.cc +++ b/tools/worker/swift_runner.cc @@ -130,7 +130,7 @@ bool SwiftRunner::ProcessPossibleResponseFile( auto path = arg.substr(1); std::ifstream original_file(path); // If we couldn't open it, maybe it's not a file; maybe it's just some other - // argument that starts with "@". (Unlikely, but it's safer to check.) + // argument that starts with "@" such as "@loader_path/..." if (!original_file.good()) { consumer(arg); return false;