diff options
author | Alex Light <allight@google.com> | 2017-10-11 11:35:55 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2017-10-13 00:08:24 +0000 |
commit | c281ba5fc8d36d0452b666b08321962a6a90e188 (patch) | |
tree | 93a1bc064b3b7e47ea100791be708d5cc6880a46 /compiler/optimizing/codegen_test_utils.h | |
parent | a7d81f1764e8690883a955f305019fd5e32e11c0 (diff) |
Make it easier to run libjdwp.so as debugger for run-test
Adds a --debug-agent argument to run test that allows one to specify
the path for a debugger JVMTI agent. Also adds a --debug-wrap-agent
option that makes the agent specified by --debug-agent use
libwrapagentproperties to ensure compatibility.
Currently this only supports host use.
Also refactored JVMTI plugin loading slightly since it was getting
to be required by a large number of different options.
Test: ./test/run-test \
--debug-agent $ANDROID_JAVA_HOME/jre/lib/amd64/libjdwp.so \
--debug-wrap-agent \
--64 \
--host \
001-HelloWorld
Bug: 67752243
Change-Id: Ie0b38999826cc09651a6d100be6acccf79e706dc
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions