From a7f2b44e843cdf9033a22bdb1b30f8f25a4ea6f5 Mon Sep 17 00:00:00 2001 From: Yu-Ting Tseng Date: Mon, 3 Mar 2025 15:14:40 -0800 Subject: Add a new API getExecutableMethodFileOffsets This new API overloads the existing API of the same name and accepts "Executable" as the argument type (rather than "Method" for the existing one). This allows it to handle things like a constructor. The API reuses the existing implementation which already handles an Executable properly. Bug: 400457896 Test: TH Change-Id: I754e798da5b041edc3f9dcfe4a3476fea2a234bf --- build/flags/art-flags.aconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'build') diff --git a/build/flags/art-flags.aconfig b/build/flags/art-flags.aconfig index 941c742195..919c6fa97d 100644 --- a/build/flags/art-flags.aconfig +++ b/build/flags/art-flags.aconfig @@ -54,6 +54,15 @@ flag { is_fixed_read_only: true } +flag { + namespace: "system_performance" + name: "executable_method_file_offsets_v2" + is_exported: true + description: "This flag includes the API for getting the compiled native executable offset info for a java executable" + bug: "400457896" + is_fixed_read_only: true +} + flag { name: "art_service_v3" namespace: "art_mainline" -- cgit v1.2.3-59-g8ed1b