diff options
author | Vladimir Marko <vmarko@google.com> | 2019-02-22 04:25:32 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-02-22 04:25:32 -0800 |
commit | 7210c1e968a204b2d7429689819518cf23402725 (patch) | |
tree | 849155baf20e01466674ad2f714dc9544d475c9b /test/ProfileTestMultiDex | |
parent | 2806888209a05894b8a9e3db18cb2b099ee56c45 (diff) | |
parent | c0584d97133a52b0fbc8347ea6edcd9c472de638 (diff) |
Merge "Fix oatdump .data.bimg.rel.ro for intrinsics."
am: c0584d9713
Change-Id: Ib78eeec98fe7fe064ae95f394afe6a0e686fad9b
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); + } +} |