[PATCH] D71582: llvm-diff: Perform structural comparison on GlobalVariables, if possible
Dominic Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 16 21:59:28 PST 2019
ddcc added a comment.
Which linkage types specifically? `hasUniqueInitializer()` checks `!isExternallyInitialized()` and `isStrongDefinitionForLinker(`), which expands to `!isDeclarationForLinker()` (`!hasAvailableExternallyLinkage() && !isDeclaration()`) and `!isWeakForLinker()`), which I believe limits the variable to private and internal linkages.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71582/new/
https://reviews.llvm.org/D71582
More information about the llvm-commits
mailing list