swift
55dedd2f - [Runtime] Allocate metadata memory with the MTE canonical tag. (#91600)

Commit
3 days ago
[Runtime] Allocate metadata memory with the MTE canonical tag. (#91600) Use MALLOC_ZONE_MALLOC_OPTION_CANONICAL_TAG to allocate metadata when it's available. Allocated metadata includes classes. ObjC classes, and thus Swift classes, must be allocated with the canonical tag because the ObjC runtime uses the high bits of the isa field for other purposes. rdar://185332382
Author
Parents
Loading