[mlir] [llvm] [libunwind] [libcxx] [libcxxabi] [libc] [clang] [lldb] [compiler-rt] [lld] [clang-tools-extra] [flang] PR#72453 : Exceeding maximum file name length (PR #72654)

Todd A. Anderson via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 17 08:06:12 PST 2023


================
@@ -310,7 +312,7 @@ void WriteDOTGraphToFile(Function &F, GraphT &&Graph,
   std::string GraphName = DOTGraphTraits<GraphT>::getGraphName(Graph);
   std::string Title = GraphName + " for '" + F.getName().str() + "' function";
 
-  if (!EC)
+  if (!EC && (Filename.length() <= MAX_FILENAME_LEN))
----------------
DrTodd13 wrote:

Same issue as above.

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


More information about the cfe-commits mailing list