This is an archive of the discontinued LLVM Phabricator instance.

[ASan][AMDGPU] Make shadow offset match X86 on Linux
ClosedPublic

Authored by rksharma on Jul 1 2021, 7:19 AM.

Details

Reviewers
vitalybuka
Summary

We need to match the shadow memory offset with that of the host (X86) on Linux. Setting IsX86 did not work because we can not tell if we are running on Linux from our target triple. This patch explicitly sets the shadow offset with the desired value.

Diff Detail

Event Timeline

rksharma created this revision.Jul 1 2021, 7:19 AM
rksharma requested review of this revision.Jul 1 2021, 7:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 1 2021, 7:19 AM
vitalybuka accepted this revision.Jul 8 2021, 4:15 PM
This revision is now accepted and ready to land.Jul 8 2021, 4:15 PM
rksharma closed this revision.Jul 8 2021, 7:40 PM

Closed by commit rG2e194dec6076