summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2019-02-27 04:44:27 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-02-27 04:44:27 -0800
commita40dc549a0975a6055b5b08823f92c5f78ce0559 (patch)
tree90ab59966e687d4d801a3360d9af5264dd9f04f7 /test/ProfileTestMultiDex
parentf994fd4279223b3de6f2c5c025f3887074268366 (diff)
parent581745977ca1a2f3107830435de435cd6aa0b07a (diff)
Revert^2 "Fix oatdump .data.bimg.rel.ro for intrinsics." am: ffe26cc54f am: 8f7513ebbb
am: 581745977c Change-Id: Idc49a963f7ad6800fd5d10978f55521625d410c5
Diffstat (limited to 'test/ProfileTestMultiDex')
-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);
+ }
+}