This is an archive of the discontinued LLVM Phabricator instance.

tsan: remove TSAN_MID_APP_RANGE macro
ClosedPublic

Authored by dvyukov on Aug 9 2021, 12:50 AM.

Details

Summary

First, the define conflicts with definition/testing of all mappings,
since it's not a global property anymore. Second, macros/ifdefs are bad.
Define kMidAppMemBeg/End to 0 to denote that there is no "mid" range instead.

Depends on D107736.

Diff Detail

Event Timeline

dvyukov requested review of this revision.Aug 9 2021, 12:50 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 9 2021, 12:50 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
melver accepted this revision.Aug 9 2021, 3:53 AM

Subject: s/remote/remove/

This revision is now accepted and ready to land.Aug 9 2021, 3:53 AM
dvyukov updated this revision to Diff 365211.Aug 9 2021, 10:21 AM

fixed typo in commit description

Subject: s/remote/remove/

done

dvyukov retitled this revision from tsan: remote TSAN_MID_APP_RANGE macro to tsan: remove TSAN_MID_APP_RANGE macro.Aug 9 2021, 10:22 AM
dvyukov updated this revision to Diff 365238.Aug 9 2021, 11:45 AM

changed SelectMapping to use template Arg and rebased

This revision was automatically updated to reflect the committed changes.