================
@@ -777,7 +778,10 @@ static void populateSymbolInfo(SymbolInfo &I, const T *D, 
const FullComment *C,
     Mangler->mangleCXXVTable(CXXD, MangledStream);
   else
     MangledStream << D->getNameAsString();
-  I.MangledName = MangledName;
+  if (MangledName.size() > 255)
+    I.MangledName = llvm::toStringRef(llvm::toHex(I.USR));
+  else
+    I.MangledName = MangledName;
----------------
ilovepi wrote:

I don't think I've run into that. For windows, you can opt out of those 
limits,and IIRC it applies to the full path, not just the filename. I don't 
recall seeing this limit on linux, but I havent' checked in a long time. 

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

Reply via email to