This is an archive of the discontinued LLVM Phabricator instance.

sanitizer_common: fix ParseUnixMemoryProfile test linking on Mac
ClosedPublic

Authored by dvyukov on Oct 29 2021, 6:53 AM.

Details

Summary

The ParseUnixMemoryProfile function is defined only for a subset
of platforms. Define the test for the same set of platforms.

Also disable the test for 32-bit platforms b/c the pointer
values used in the test are 64-bit and don't fit into 32-bit uptr.

Reported-by: Jan Svoboda (jansvoboda11)

Diff Detail

Event Timeline

dvyukov created this revision.Oct 29 2021, 6:53 AM
dvyukov requested review of this revision.Oct 29 2021, 6:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 29 2021, 6:53 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
dvyukov updated this revision to Diff 383339.Oct 29 2021, 6:57 AM

also disable the test for 32-bits

dvyukov edited the summary of this revision. (Show Details)Oct 29 2021, 6:58 AM
melver accepted this revision.Oct 29 2021, 7:02 AM
This revision is now accepted and ready to land.Oct 29 2021, 7:02 AM