diff options
| author | 2025-02-12 11:51:00 -0800 | |
|---|---|---|
| committer | 2025-02-13 07:54:00 -0800 | |
| commit | f937d3d23083efc167ff68b41216373bffd23c95 (patch) | |
| tree | 964b758b403e573e022de13e1dbc8cbe8dbe1331 /compiler/optimizing/graph_test.cc | |
| parent | a334d1c7100f7d6260984a8b8708271f9a8c84b9 (diff) | |
s/oat_location/oat_filename/ when opening an oat file
VMDebug_getExecutableMethodFileOffsetsNative includes the output of OatFile::GetLocation() in its return value and this location is supposed to point to the actual file on device. However, the existing code returns an nonexistent path like /system/framework/boot-framework.oat, whereas the actual file is located under /system/framework/arm64.
This change fixes the issue by passing the actual file path as oat location into OatFile. This way OatFile::GetLocation() would return the actual path.
Bug: 395993265
Test: atest uprobestats-test
Change-Id: I072298a4078c9bf1b89fc71e5ab7148e8b56114c
Diffstat (limited to 'compiler/optimizing/graph_test.cc')
0 files changed, 0 insertions, 0 deletions