Page MenuHomePhabricator

[lldb/Scripts] Add script to replay multiple reproducers
ClosedPublic

Authored by JDevlieghere on Apr 6 2020, 4:44 PM.

Details

Summary

Script to replay reproducers with the command line driver in parallel. This is used for stage 1 as described in the RFC on lldb-dev [1].

[1] http://lists.llvm.org/pipermail/lldb-dev/2020-April/016100.html

Diff Detail

Repository
rLLDB LLDB

Event Timeline

JDevlieghere created this revision.Apr 6 2020, 4:44 PM
JDevlieghere marked an inline comment as done.Apr 6 2020, 4:51 PM
JDevlieghere added inline comments.
lldb/scripts/reproducer-replay.py
1

This is needed for the timeout. I'd rather not rely on an external package for this unless anyone objects.

labath accepted this revision.Apr 15 2020, 5:32 AM
labath added inline comments.
lldb/scripts/reproducer-replay.py
1

SGTM. Hopefully will get rid of py2 soon, and this isn't a very critical piece of infrastructure.

50

it would probably be slightly cleaner to make this a generator and use yield os.path.join(root, dir)

86

I'm not sure how useful is this now that we don't put reproducers in /tmp

This revision is now accepted and ready to land.Apr 15 2020, 5:32 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 15 2020, 10:57 AM