================
@@ -485,20 +486,48 @@ static void addPGOAndCoverageFlags(const ToolChain &TC, 
Compilation &C,
   }
 
   if (ProfileUseArg) {
+    SmallString<128> Path;
----------------
jansvoboda11 wrote:

Good point. I also made it so that we don't skip the rest of the function in 
case we fail to read the file.

https://github.com/llvm/llvm-project/pull/159667
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to