This is an archive of the discontinued LLVM Phabricator instance.

[asan] Fix test compilation on Android API <= 17
ClosedPublic

Authored by smeenai on Jan 27 2020, 5:26 PM.

Details

Summary

mlockall and munlockall were introduced in Android API 17, so avoid
referencing them on prior versions.

Diff Detail

Event Timeline

smeenai created this revision.Jan 27 2020, 5:26 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 27 2020, 5:27 PM
Herald added subscribers: llvm-commits, Restricted Project, krytarowski. · View Herald Transcript
eugenis accepted this revision.Jan 27 2020, 5:32 PM
eugenis added a subscriber: eugenis.

LGTM

This revision is now accepted and ready to land.Jan 27 2020, 5:32 PM
This revision was automatically updated to reflect the committed changes.