Skip to content

arm64: Use different instruction sequence for taking global address with HWASan

Peter Collingbourne requested to merge pcc/dav1d:hwasan into master

When dav1d is built with HWASan, the build fails because globals are tagged and the normal adrp/add instruction sequence does not have enough range to take the tagged address. Therefore, use an alternative instruction sequence when HWASan is enabled, which is the same as what the compiler generates.

Merge request reports