diff options
author | Wojciech Staszkiewicz <staszkiewicz@google.com> | 2016-08-11 14:04:20 -0700 |
---|---|---|
committer | Wojciech Staszkiewicz <staszkiewicz@google.com> | 2016-08-25 16:03:48 -0700 |
commit | 0fa3cbd4286db31c872c7009ff3cca359073c01f (patch) | |
tree | 53004b4caf822e1e505938cb83aa07fade7a3b6c /test/utils/python/generate_java_main.py | |
parent | 770e31af962a8ec64bccf0121d1463fa19f5364c (diff) |
Bisection bug search tool
Bisection Bug Search is a tool for finding compiler optimization
bugs. It accepts a program which exposes a bug by producing incorrect
output and expected correct output for the program. The tool will
then attempt to narrow down the issue to a single method and
optimization pass.
Given methods in order M0..Mn finds smallest i such that compiling
Mi and interpreting all other methods produces incorrect output.
Then, given ordered optimization passes P0..Pl, finds smallest j
such that compiling Mi with passes P0..Pj-1 produces expected output
and compiling Mi with passes P0..Pj produces incorrect output.
Prints Mi and Pj.
Test: unit tests ./art/tools/bisection-search/tests.py
Manual testing:
./bisection-search.py -cp classes.dex --expected-output output Test
Change-Id: Ic40a82184975d42c9a403f697995e5c9654b8e52
Diffstat (limited to 'test/utils/python/generate_java_main.py')
0 files changed, 0 insertions, 0 deletions