summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2021-11-02 11:31:08 +0000
committer Treehugger Robot <treehugger-gerrit@google.com> 2021-11-29 11:22:21 +0000
commitac4e4a231f6438974f6d8adcfe91308e9d137ed4 (patch)
tree6e938b4d125e90ec73090adf575b138279ac92be /compiler/optimizing/code_generator.cc
parent4c7ffab617dbcb7397ba89005f75f7818a27cd24 (diff)
Dump the graph before/after every pass
We will now dump a partial CFG when encountering an error while compiling which is useful for debugging a crash. Also, force the number of threads to 1 if the --dump-cfg option is passed. This makes the visualizer_dump_mutex_ obsolete since there's no possibility of a race. Bug: 203755436 Test: ART tests, dumped cfg with an added CHECK(false) to verify the partial .cfg Change-Id: I55bc9ceafef9e9eb4a43e891fb88d10e619bf64c
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions