summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2019-02-25 14:03:16 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-02-25 14:03:16 -0800
commit5d70c1d2be204221d42ceed74614f6ffd25589cb (patch)
tree849155baf20e01466674ad2f714dc9544d475c9b /test/ProfileTestMultiDex/Second.java
parenteed5eb6e0efa128755276790464e5b4312cd0279 (diff)
parentceb80fb0c9259ddf421f4d0be5fbabeeff41441e (diff)
Merge "Fix oatdump .data.bimg.rel.ro for intrinsics." am: c0584d9713 am: 7210c1e968
am: ceb80fb0c9 Change-Id: Ifa563e6b02a2892fd5b8b862a07176337947d848
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
-rw-r--r--test/ProfileTestMultiDex/Second.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ProfileTestMultiDex/Second.java b/test/ProfileTestMultiDex/Second.java
index 4b3c7a479b..9f5dc66742 100644
--- a/test/ProfileTestMultiDex/Second.java
+++ b/test/ProfileTestMultiDex/Second.java
@@ -30,3 +30,11 @@ class SubC extends Super {
int getValue() { return 24; }
}
+class TestIntrinsicOatdump {
+ Integer valueOf(int i) {
+ // ProfileTestMultiDex is used also for testing oatdump for apps.
+ // This is a regression test that oatdump can handle .data.bimg.rel.ro
+ // entries pointing to the middle of the "boot image live objects" array.
+ return Integer.valueOf(i);
+ }
+}