[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.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the libcxx-commits