diff options
author | Vladimir Marko <vmarko@google.com> | 2019-02-25 11:41:30 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-02-25 11:41:30 -0800 |
commit | ceb80fb0c9259ddf421f4d0be5fbabeeff41441e (patch) | |
tree | 849155baf20e01466674ad2f714dc9544d475c9b /test/ProfileTestMultiDex | |
parent | 3eebffc466069cbcaefd4b3d6af6c196df1a4131 (diff) | |
parent | 7210c1e968a204b2d7429689819518cf23402725 (diff) |
Merge "Fix oatdump .data.bimg.rel.ro for intrinsics." am: c0584d9713
am: 7210c1e968
Change-Id: If5364d5cd6dfba2b8fd23b2f63d651324a23a41d
Diffstat (limited to 'test/ProfileTestMultiDex')
-rw-r--r-- | test/ProfileTestMultiDex/Second.java | 8 |
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); + } +} |