google / google/xls

Add a signal handler for SIGINT to ir_minimizer_main that prints out current IR

Open
#745 0 comments 0 reactions 0 assignees View on GitHub
fuzz good first issue
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

When `ir_minimizer_main` is being run manually, sometimes you'll get a long way into a run and realize that the flags were wrong somehow. It'd be nice to provide the capability to pick up from where you left off without spamming the console with the IR every time. One way of doing this is to install a signal handler that will detect SIGINT and print out the last failing IR.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.