Page MenuHomePhabricator

[hwasan] Test use-after-scope with -fno-exceptions.
ClosedPublic

Authored by fmayer on Sep 3 2021, 4:05 AM.

Diff Detail

Unit TestsFailed

TimeTest
0 msx64 windows > Clang.CodeGen/aarch64-sve-intrinsics::acle_sve_st1b.c
shell parser error on: ": 'RUN: at line 3'; c:\\ws\\w6\\llvm-project\\premerge-checks\\build\\bin\\clang.exe -cc1 -internal-isystem c:\\ws\\w6\\llvm-project\\premerge-checks\\build\\lib\\clang\\14.0.0\\include -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -o - -emit-llvm C:\\ws\\w6\\llvm-project\\premerge-checks\\clang\\test\\CodeGen\\aarch64-sve-intrinsics\\acle_sve_st1b.c |& c:\\ws\\w6\\llvm-project\\premerge-checks\\build\\bin\\filecheck.exe C:\\ws\\w6\\llvm-project\\premerge-checks\\clang\\test\\CodeGen\\aarch64-sve-intrinsics\\acle_sve_st1b.c"
20 msx64 windows > Clang.CodeGen/aarch64-sve-intrinsics::acle_sve_st1h.c
shell parser error on: ": 'RUN: at line 3'; c:\\ws\\w6\\llvm-project\\premerge-checks\\build\\bin\\clang.exe -cc1 -internal-isystem c:\\ws\\w6\\llvm-project\\premerge-checks\\build\\lib\\clang\\14.0.0\\include -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -o - -emit-llvm C:\\ws\\w6\\llvm-project\\premerge-checks\\clang\\test\\CodeGen\\aarch64-sve-intrinsics\\acle_sve_st1h.c |& c:\\ws\\w6\\llvm-project\\premerge-checks\\build\\bin\\filecheck.exe C:\\ws\\w6\\llvm-project\\premerge-checks\\clang\\test\\CodeGen\\aarch64-sve-intrinsics\\acle_sve_st1h.c"
0 msx64 windows > Clang.CodeGen/aarch64-sve-intrinsics::acle_sve_st1w.c
shell parser error on: ": 'RUN: at line 3'; c:\\ws\\w6\\llvm-project\\premerge-checks\\build\\bin\\clang.exe -cc1 -internal-isystem c:\\ws\\w6\\llvm-project\\premerge-checks\\build\\lib\\clang\\14.0.0\\include -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -o - -emit-llvm C:\\ws\\w6\\llvm-project\\premerge-checks\\clang\\test\\CodeGen\\aarch64-sve-intrinsics\\acle_sve_st1w.c |& c:\\ws\\w6\\llvm-project\\premerge-checks\\build\\bin\\filecheck.exe C:\\ws\\w6\\llvm-project\\premerge-checks\\clang\\test\\CodeGen\\aarch64-sve-intrinsics\\acle_sve_st1w.c"

Event Timeline

fmayer requested review of this revision.Sep 3 2021, 4:05 AM
fmayer created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptSep 3 2021, 4:05 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
fmayer added a reviewer: hctim.Sep 3 2021, 4:06 AM
hctim accepted this revision.Sep 3 2021, 2:18 PM

LGTM - Is this providing coverage that otherwise wasn't being found? Did you find a bug in an upcoming patchset?

This revision is now accepted and ready to land.Sep 3 2021, 2:18 PM
fmayer added a comment.Sep 6 2021, 2:05 AM

LGTM - Is this providing coverage that otherwise wasn't being found? Did you find a bug in an upcoming patchset?

This is because the std::vector case gets compiled quite differently without exceptions, given that e.g. Android is built without exceptions, there should be a test that verifies that actually works.
But no, this didn't find any bug so far.

This revision was landed with ongoing or failed builds.Sep 6 2021, 2:10 AM
This revision was automatically updated to reflect the committed changes.