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
diff --git a/test/ProfileTestMultiDex/Second.java b/test/ProfileTestMultiDex/Second.java
index 4b3c7a4..9f5dc66 100644
--- a/test/ProfileTestMultiDex/Second.java
+++ b/test/ProfileTestMultiDex/Second.java
@@ -30,3 +30,11 @@
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);
+ }
+}