[llvm] [IR] Handle `.__uniq.` in `getGlobalIndentifier` for local linkage objects (PR #98163)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 15:12:22 PDT 2024
================
@@ -1743,8 +1743,10 @@ class ModuleSummaryIndex {
}
static std::string getGlobalNameForLocal(StringRef Name, StringRef Suffix) {
+ if (Name.contains(NameParticles::UniqSuffix))
----------------
minglotus-6 wrote:
nit: add a comment to explain the reason behind this.
https://github.com/llvm/llvm-project/pull/98163
More information about the llvm-commits
mailing list