[PATCH] D109252: Add extra check for llvm::Any::TypeId visibility
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 10 13:10:47 PDT 2021
tstellar added a comment.
Yes, the structure of the test looks good.
================
Comment at: llvm/tools/llvm-shlib/typeid.pattern:2
+# Make sure there's no llvm::Any::TypeId symbol local to the shared library.
+# That would cause non-unicity of the adresses used as unique identifier for
+# each type when another library is linked in with default visibility (weak)
----------------
serge-sans-paille wrote:
> MaskRay wrote:
> > I haven't heard of non-unicity.
> >
> > breaking pointer equality is more common.
> This really sounds the same to me :-)
fwiw, I don't know what non-unicity means either.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109252/new/
https://reviews.llvm.org/D109252
More information about the llvm-commits
mailing list