1
Fork 0

MemTagSanitizer Support

Adds support for the LLVM MemTagSanitizer.
This commit is contained in:
Ivan Lozano 2021-12-03 16:11:13 -05:00
parent 5569757491
commit 568aeda9e9
15 changed files with 67 additions and 6 deletions

View file

@ -226,6 +226,8 @@ static Attribute::AttrKind fromRust(LLVMRustAttribute Kind) {
return Attribute::StackProtect;
case NoUndef:
return Attribute::NoUndef;
case SanitizeMemTag:
return Attribute::SanitizeMemTag;
}
report_fatal_error("bad AttributeKind");
}