This is an archive of the discontinued LLVM Phabricator instance.

[libc] fix default ASAN behavior when SCUDO is enabled
AbandonedPublic

Authored by michaelrj on Nov 16 2021, 3:23 PM.

Details

Reviewers
sivachandra
lntue
Summary

if COMPILER_RT_BUILD_GWP_ASAN isn't set, then in compiler-rt it defaults
to on, but since it isn't defined in llvm libc, it was previously
defaulting to off, causing build errors from the mismatch. This fixes
the default behavior by making it default to on in llvm libc.

Diff Detail

Event Timeline

michaelrj created this revision.Nov 16 2021, 3:23 PM
michaelrj requested review of this revision.Nov 16 2021, 3:23 PM
lntue accepted this revision.Nov 16 2021, 4:45 PM
This revision is now accepted and ready to land.Nov 16 2021, 4:45 PM
michaelrj abandoned this revision.Jun 28 2022, 5:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 28 2022, 5:02 PM