================
@@ -2135,6 +2135,11 @@ bool
ConstantPtrAuth::hasSpecialAddressDiscriminator(uint64_t Value) const {
bool ConstantPtrAuth::isKnownCompatibleWith(const Value *Key,
const Value *Discriminator,
const DataLayout &DL) const {
+ // This function may only be validly called to analyze a ptrauth operation
with
+ // no deactivation symbol, so if we have one it isn't compatible.
+ if (!getDeactivationSymbol()->isNullValue())
----------------
ojhunt wrote:
Sigh, IR vs clang again - I was thinking about this in the context of qualified
type compatibility. Sigh.
https://github.com/llvm/llvm-project/pull/133537
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits