This is an archive of the discontinued LLVM Phabricator instance.

[Lit] Add pushd and popd builtins
ClosedPublic

Authored by dgoldman on May 12 2022, 1:34 PM.

Details

Summary

This behaves just like the sh/cmd.exe equivalents.

Diff Detail

Event Timeline

dgoldman created this revision.May 12 2022, 1:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 12 2022, 1:34 PM
Herald added a subscriber: delcypher. · View Herald Transcript
dgoldman requested review of this revision.May 12 2022, 1:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 12 2022, 1:34 PM
compnerd accepted this revision.May 12 2022, 1:49 PM

This seems reasonable to me. I think that a bit more exposition in the commit message is warranted though: explain why/how they are useful (i.e. they can be useful to validating the driver behaviour for path handling).

This revision is now accepted and ready to land.May 12 2022, 1:49 PM
dgoldman updated this revision to Diff 429097.May 12 2022, 4:20 PM

Update commit message

This revision was landed with ongoing or failed builds.May 12 2022, 4:25 PM
This revision was automatically updated to reflect the committed changes.