Commit ae1d65a
committed
[clang][cas] Handle CAS errors from OutputFile::keep()
When finishing output files we need to handle all possible Error kinds
or we will have undefined behaviour. In particular, if storing to the
CAS failed we could silently fail to add the main output leading to
mysterious downstream failures if we tried to replay that compilation,
or for modules when we tried to load the pcm contents.
rdar://151077068
(cherry picked from commit f2b5016)1 parent 0d47fa0 commit ae1d65a
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
905 | 909 | | |
906 | 910 | | |
907 | 911 | | |
| |||
0 commit comments