From ffe26cc54fac4f1997e5dbf6991da9e95ce49e31 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 26 Feb 2019 09:51:56 +0000 Subject: Revert^2 "Fix oatdump .data.bimg.rel.ro for intrinsics." This reverts commit 44044b1522c7486ca8b308bf49b1f39b82626e6d. Failing test was disabled for SS/GSS/Debug GC. Test: Additional test in oatdump_app_test Test: m test-art-host-gtest Bug: 71526895 Bug: 126305867 Change-Id: I2cf598ef735ca87430cdb007e7331ad444edad43 --- test/ProfileTestMultiDex/Second.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/ProfileTestMultiDex') 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); + } +} -- cgit v1.2.3