summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorScott Lobdell <slobdell@google.com>2019-03-05 11:56:32 -0800
committerScott Lobdell <slobdell@google.com>2019-03-06 16:32:08 -0800
commit5cfa99872a45229b192309ae1aaec285d88d1484 (patch)
tree7d1db0a1d25c8fc68df2595ecb3ae3583181235d /test/ProfileTestMultiDex
parentfcea04427fa3de75f840a254ac09479a50aede0f (diff)
parentae62eb83488c6dba58ed3ba7ce83fdadc7c203a5 (diff)
Merge QP1A.190228.005
Change-Id: Idede0b80b07d19b5b26774caedf0f617ce22e840
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);
+ }
+}