[libcxx-commits] [PATCH] D97802: [libc++] Fix incorrect typeinfo comparison on ARM64
John McCall via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 25 14:26:49 PDT 2021
rjmccall added a comment.
You're misinterpreting the condition. The "is non-unique" bit says that the RTTI is non-unique and thus its identity is string-based; otherwise it is pointer-based. A uniquely-emitted type is never the same as a non-uniquely-emitted type.
Usually people who are having problems with this are messing up type visibility so that it's inconsistent between libraries.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97802/new/
https://reviews.llvm.org/D97802
More information about the libcxx-commits
mailing list