This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Fix codesigning in run.py
ClosedPublic

Authored by ldionne on Apr 1 2021, 6:48 AM.

Details

Reviewers
mstorsjo
Group Reviewers
Restricted Project
Commits
rG232d3a3e4755: [libc++] Fix codesigning in run.py
Summary

Without this patch, we'd always try to codesign the first argument in
the command line, which in some cases is not something we can codesign
(e.g. bash for some .sh.cpp tests).

Diff Detail

Event Timeline

ldionne created this revision.Apr 1 2021, 6:48 AM
ldionne requested review of this revision.Apr 1 2021, 6:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2021, 6:48 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
mstorsjo accepted this revision.Apr 1 2021, 7:06 AM
mstorsjo added a subscriber: mstorsjo.

LGTM, but I guess it'd be good to mention somewhere in the commit message that this isn't a new "hack" (and I'm not sure I'd agree to even label it as a hack) but this just is a straight copy of the same code in ssh.py.

LGTM, but I guess it'd be good to mention somewhere in the commit message that this isn't a new "hack" (and I'm not sure I'd agree to even label it as a hack) but this just is a straight copy of the same code in ssh.py.

Will do, thanks.

ldionne accepted this revision as: Restricted Project.Apr 1 2021, 10:39 AM
This revision is now accepted and ready to land.Apr 1 2021, 10:39 AM
This revision was landed with ongoing or failed builds.Apr 1 2021, 10:40 AM
This revision was automatically updated to reflect the committed changes.