[SR-11541] Handle failure in the Driver's getTemporaryFilePath helper #53942
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
legacy driver
Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project
Additional Detail from JIRA
md5: b1cf20b9e827a8612b37edfdaddd6d35
Issue Description:
This is obviously not optimal. The immediate action is to return an
llvm::Expected<const char *>
instead, to represent the failure, but all of the callers are constructing command-lines for the jobs to run for this compilation. That's not currently something that can fail.The text was updated successfully, but these errors were encountered: