Skip to content

Commit a74247e

Browse files
committed
Swift: add filename to an error message
1 parent 6b77e67 commit a74247e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

swift/extractor/invocation/SwiftInvocationExtractor.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ void replaceMergedModulesImplementation(const SwiftExtractorState& state,
106106
getTrapPath(state, mergedPartTarget, TrapType::linkage),
107107
fs::copy_options::overwrite_existing, ec);
108108
if (ec) {
109-
std::cerr << "unable to replace merged module trap implementation id (" << ec.message() << ")";
109+
std::cerr << "unable to replace trap implementation id for merged module '" << name << "' ("
110+
<< ec.message() << ")";
110111
}
111112
}
112113

0 commit comments

Comments
 (0)