This is an archive of the discontinued LLVM Phabricator instance.

[asan] Ensure SHADOW_OFFSET is kSPARC64_ShadowOffset64 on sparc64 only
AbandonedPublic

Authored by glaubitz on Mar 12 2021, 11:43 AM.

Details

Summary

Since the compiler defines the sparc macro for both 32- and 64-bit
sparc targets, SHADOW_OFFSET should be defined as kSPARC64_ShadowOffset64
only if SANITIZER_WORDSIZE==64.

Diff Detail

Event Timeline

glaubitz created this revision.Mar 12 2021, 11:43 AM
glaubitz requested review of this revision.Mar 12 2021, 11:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 12 2021, 11:43 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript

I just realized this change isn't necessary and it also doesn't fix my build problem.

glaubitz abandoned this revision.Mar 12 2021, 12:08 PM