This is an archive of the discontinued LLVM Phabricator instance.

[hwasan] re-enable stack safety by default.
ClosedPublic

Authored by fmayer on Aug 19 2021, 8:37 AM.

Details

Summary

The failed assertion was fixed in D108337.

Diff Detail

Event Timeline

fmayer created this revision.Aug 19 2021, 8:37 AM
fmayer requested review of this revision.Aug 19 2021, 8:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 19 2021, 8:37 AM
vitalybuka accepted this revision.Aug 19 2021, 11:42 AM
vitalybuka added a subscriber: vitalybuka.

Could you please also add into HWAddressSanitizer/stack-safety-analysis.ll to check this default behavior.
; RUN: opt -hwasan -hwasan-generate-tags-with-calls -S < %s | FileCheck %s --check-prefixes=SAFETY

This revision is now accepted and ready to land.Aug 19 2021, 11:42 AM
eugenis accepted this revision.Aug 19 2021, 11:54 AM
eugenis added a subscriber: eugenis.

Could you please also add into HWAddressSanitizer/stack-safety-analysis.ll to check this default behavior.

Yes, please!

LGTM

fmayer updated this revision to Diff 367598.Aug 19 2021, 1:10 PM

test that stack safety defaults on.

This revision was landed with ongoing or failed builds.Aug 19 2021, 1:11 PM
This revision was automatically updated to reflect the committed changes.