We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e508384 commit bd041f5Copy full SHA for bd041f5
llvm/lib/Support/VirtualOutputBackends.cpp
@@ -260,6 +260,8 @@ static sys::fs::OpenFlags generateFlagsFromConfig(OutputConfig Config) {
260
OF |= sys::fs::OF_TextWithCRLF;
261
else if (Config.getText())
262
OF |= sys::fs::OF_Text;
263
+ // Don't pass OF_Append if writting to temporary since OF_Append is
264
+ // not Atomic Append
265
if (Config.getAppend() && !Config.getAtomicWrite())
266
OF |= sys::fs::OF_Append;
267
0 commit comments