This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt][NFC] add debugging options to iossim_run
ClosedPublic

Authored by aralisza on Jul 23 2021, 12:22 PM.

Details

Summary

Add the ability to:

  1. tell simctl to wait for debugger when spawning process
  2. print the command that is called to launch the process

Diff Detail

Event Timeline

aralisza created this revision.Jul 23 2021, 12:22 PM
aralisza requested review of this revision.Jul 23 2021, 12:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 23 2021, 12:22 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
aralisza added inline comments.
compiler-rt/test/lit.common.cfg.py
700 ↗(On Diff #361299)

just some whitespace cleanup

If you can address the comments then LGTM.

compiler-rt/test/lit.common.cfg.py
700 ↗(On Diff #361299)

Can you land the whitespace change as a separate patch? The whitespace change is fine so no need to do a review on Phabricator.

The only reason I ask is it's good to keep commits to be single purpose so that if a revert needs to happen it doesn't also revert unrelated things.

compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py
39–43

Could you update the bin/rm path to also print what it's doing when iossim_run_verbose is true?

aralisza updated this revision to Diff 361326.Jul 23 2021, 1:21 PM

also print for rm

This revision is now accepted and ready to land.Jul 23 2021, 1:28 PM
This revision was landed with ongoing or failed builds.Jul 23 2021, 1:32 PM
This revision was automatically updated to reflect the committed changes.