[flang-commits] [flang] [flang] Change `uniqueCGIdent` separator from `.` to `_` (PR #71338)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Mon Nov 6 00:37:17 PST 2023


================
@@ -966,13 +966,13 @@ std::string fir::factory::uniqueCGIdent(llvm::StringRef prefix,
     llvm::SmallString<32> str;
     llvm::MD5::stringifyResult(result, str);
     std::string hashName = prefix.str();
-    hashName.append(".").append(str.c_str());
+    hashName.append("_").append(str.c_str());
     return fir::NameUniquer::doGenerated(hashName);
   }
   // "Short" identifiers use a reversible hex string
----------------
kiranchandramohan wrote:

Is there some change required in the demangling code?

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


More information about the flang-commits mailing list