[llvm] [llvm-profgen] Remove temporary perf script files (PR #86668)

Haohai Wen via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 26 19:26:57 PDT 2024


================
@@ -189,5 +189,7 @@ int main(int argc, const char *argv[]) {
     Generator->write();
   }
 
+  PerfScriptReader::removeTempFiles();
+
   return EXIT_SUCCESS;
----------------
HaohaiWen wrote:

Using CleanupInstaller can avoid this since cleanup will be auto run in destructor of static variable.

https://github.com/llvm/llvm-project/pull/86668


More information about the llvm-commits mailing list