This is an archive of the discontinued LLVM Phabricator instance.

[AddressSanitizer] Put shadow at 0 for Fuchsia
ClosedPublic

Authored by mcgrathr on Feb 27 2017, 12:31 PM.

Details

Summary

The Fuchsia ASan runtime reserves the low part of the address space.

Diff Detail

Repository
rL LLVM

Event Timeline

mcgrathr created this revision.Feb 27 2017, 12:31 PM
kcc accepted this revision.Feb 27 2017, 12:38 PM
kcc added a subscriber: kcc.

LGTM
Lovely!

This revision is now accepted and ready to land.Feb 27 2017, 12:38 PM
eugenis edited edge metadata.Feb 27 2017, 12:41 PM

AFAIK, JITs and such like to place generated code at 32-bit addresses (i.e. MAP_32BIT). Can this be an issue for Fuchsia?

wrt JITs and such, if this becomes an issue we may revisit.

This revision was automatically updated to reflect the committed changes.