Hi
I see that clang creates a temporary file when generating bc/ll/.o files
and it moves the temporary file to the final file when the code generation
is complete. Any reason why a temporary file is needed here ?
CompilerInstance::createDefaultOutputFile(bool Binary,
StringRef InFile,
StringRef Extension) {
return createOutputFile(getFrontendOpts().OutputFile, Binary,
/*RemoveFileOnSignal=*/true, InFile,
Extension,
-/*UseTemporary=*/true-);
}
Thanks
Xin
_______________________________________________
cfe-users mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users