diff options
| author | 2023-04-18 14:17:00 +0100 | |
|---|---|---|
| committer | 2023-06-07 13:04:34 +0000 | |
| commit | f219b5447ade112f4aa887232e4206ab9c9d2860 (patch) | |
| tree | c93d262604e2d103ae05e69cd9ddbe1dd4685bfa /compiler/optimizing/codegen_test.cc | |
| parent | 094c315126e451ab8ea04e119568da95ab3d5a03 (diff) | |
Switch --gdb-dex2oat to GDB
This also fixes the issue with the "--" part erroneously being added
to GDB_DEX2OAT_ARGS twice for the secondary compilation - via
renaming GDB_DEX2OAT_ARGS -> GDB_DEX2OAT_EXTRA_ARGS and introducing
GDB_DEX2OAT_ARGS local variable with value constructed independently
of previous write_dex2oat_cmdlines invocations.
To avoid ambiguity on whether the extra arguments are for gdb or
for dex2oat, move them to an earlier position on the command line.
Also, fix handling of dash symbols in the extra arguments.
Test: art/test.py -v -j56 --host --64 --optimizing --ndebug \
--ndebuggable --gdb-dex2oat -t 071-dexfile-map-clean \
--run-test
Test: art/test.py -v -j56 --host --64 --optimizing \
--ndebuggable --gdb-dex2oat -t 071-dexfile-map-clean \
--run-test
Test: art/test.py -v -j56 --host --64 --optimizing \
--ndebuggable --gdb-dex2oat --gdb-dex2oat-args='--version' \
-t 071-dexfile-map-clean --run-test
Test: art/test.py -v -j56 --host --64 --optimizing \
--ndebuggable --gdb-dex2oat --gdb-dex2oat-args='--tui' \
-t 071-dexfile-map-clean --run-test
Test: art/test.py -v -j56 --host --64 --optimizing \
--ndebuggable --gdb-dex2oat --gdb-dex2oat-args='-ex=run;--tui' \
-t 071-dexfile-map-clean --run-test
Change-Id: I598be3c3009947fea2fd6f45fa3a94a54a3c3d9e
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
0 files changed, 0 insertions, 0 deletions