This is an archive of the discontinued LLVM Phabricator instance.

Fix a test case that checks should check whether or not it is passed into lld
ClosedPublic

Authored by Conanap on Feb 24 2021, 3:59 PM.

Details

Summary

This test case was causing a PowerPC buildbot to fail as it happened to be named lld-multistage, which matches with the original regex and therefore fails the check-not. This should better represent the desired check.

Original differential: https://reviews.llvm.org/D96835

Diff Detail

Event Timeline

Conanap created this revision.Feb 24 2021, 3:59 PM
Conanap requested review of this revision.Feb 24 2021, 3:59 PM
yaxunl added inline comments.Feb 24 2021, 4:16 PM
clang/test/Driver/hip-sanitize-options.hip
29

this may fail on windows since lld becomes lld.exe

yaxunl added inline comments.Feb 24 2021, 4:39 PM
clang/test/Driver/hip-sanitize-options.hip
29

may be change to

{{"[^"]*lld[^"]*".* "-plugin-opt=.* ".*hip.bc"}}

similar as below

Conanap updated this revision to Diff 326311.Feb 25 2021, 12:29 AM
Conanap marked 2 inline comments as done.

Added .exe check for windows

clang/test/Driver/hip-sanitize-options.hip
29

Should be fixed now

yaxunl accepted this revision.Feb 25 2021, 5:42 AM

LGTM. Thanks.

This revision is now accepted and ready to land.Feb 25 2021, 5:42 AM
This revision was landed with ongoing or failed builds.Feb 25 2021, 7:32 AM
This revision was automatically updated to reflect the committed changes.