================
@@ -94,7 +96,7 @@ void printGraphForFunction(Function &F, GraphT Graph, 
StringRef Name,
   raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF);
----------------
DrTodd13 wrote:

I needed to work around this bug when I found it so in my local version I did a 
(Name.str() + "." + F.getName().str()).substr(0,250) + ".dot".  In this way, I 
just truncate the lengthy filename to 250 characters before adding the ".dot".  
However, this approach has the problem that two functions who names differ only 
past the 250 character mark will try to write to the same file.  I don't know 
what the right solution is here and that's why I posted it for discussion. 

https://github.com/llvm/llvm-project/pull/72654
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to