summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
author Matt Gilbride <mattgilbride@google.com> 2024-03-04 19:42:11 +0000
committer Matt Gilbride <mattgilbride@google.com> 2024-04-10 19:34:20 +0000
commit98556fe15d5124564de8d85589c7c9f3f66621a8 (patch)
tree261c54c2b5cc0e9e3a0066dbbbff62c3fd1e8f9d /compiler/optimizing/code_generator.cc
parent3e410f15eab500ad8248d9463b5fe1ec0a609a27 (diff)
oatdump --dump-method-and-offset-as-json
- Adds the subject flag to the oatdump CLI - When passed, prints ONLY the following method information, in a stable JSON format: - return type, fully qualified name, and signature - code offset Example: ``` oatdump --dump-method-and-offset-as-json \ --method-filter=dumpPackagesLPr \ --oat-file=out/target/product/raven/system/framework/oat/arm64/services.odex \ --dex-file=out/target/product/raven/system/framework/services.jar ``` Output: ``` {"method":"void com.android.server.pm.Settings.dumpPackagesLPr(java.io.PrintWriter, java.lang.String, android.util.ArraySet, com.android.server.pm.DumpState, boolean)","offset":"0x003a5450"} ``` Test: m test-art-host-gtest-art_oatdump_tests Bug: 296108553 Change-Id: I963daeadef6fe79f132a69f2694aeb61adb763a5
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions