OSDN Git Service

android-x86/art.git
9 years agoam 75939a2b: Merge "Fix double-exception in super-class method validation."
Vladimir Marko [Fri, 29 May 2015 16:53:24 +0000 (16:53 +0000)]
am 75939a2b: Merge "Fix double-exception in super-class method validation."

* commit '75939a2ba24ca4da3f33f89928cca1540c5ddfc6':
  Fix double-exception in super-class method validation.

9 years agoMerge "Fix double-exception in super-class method validation."
Vladimir Marko [Fri, 29 May 2015 16:44:07 +0000 (16:44 +0000)]
Merge "Fix double-exception in super-class method validation."

9 years agoam 6cce3c9d: Merge "Link .dynamic to .dynstr"
David Srbecky [Fri, 29 May 2015 16:26:30 +0000 (16:26 +0000)]
am 6cce3c9d: Merge "Link .dynamic to .dynstr"

* commit '6cce3c9d4219f1d45de9dd2af86f860c42af0a78':
  Link .dynamic to .dynstr

9 years agoam 49c595d7: Merge "Set correct size of PT_PHDR ELF segment."
David Srbecky [Fri, 29 May 2015 16:26:28 +0000 (16:26 +0000)]
am 49c595d7: Merge "Set correct size of PT_PHDR ELF segment."

* commit '49c595d7341ee1d6b4bdc05ca2437c61c726cbbf':
  Set correct size of PT_PHDR ELF segment.

9 years agoMerge "Link .dynamic to .dynstr"
David Srbecky [Fri, 29 May 2015 16:18:06 +0000 (16:18 +0000)]
Merge "Link .dynamic to .dynstr"

9 years agoMerge "Set correct size of PT_PHDR ELF segment."
David Srbecky [Fri, 29 May 2015 16:16:55 +0000 (16:16 +0000)]
Merge "Set correct size of PT_PHDR ELF segment."

9 years agoLink .dynamic to .dynstr
David Srbecky [Fri, 29 May 2015 15:33:11 +0000 (16:33 +0100)]
Link .dynamic to .dynstr

This is what the ELF specification says we should do.
(see Figure 1-13: sh_link and sh_info Interpretation)

Also make the entity size of string sections 0 (i.e. not a table).
Size 1 makes some sense as well but it is not what other tools do.

Bug: 20556771
Change-Id: I780ba2e13c09c33c143fca70b38a35f3b8528fb2

9 years agoSet correct size of PT_PHDR ELF segment.
David Srbecky [Fri, 29 May 2015 14:21:20 +0000 (15:21 +0100)]
Set correct size of PT_PHDR ELF segment.

This is just a nit pick, I do not believe that having it too
long could have caused any trouble since the correct number of
elements is stored in ELF header and extra space was zero padded.

Bug: 20556771
Change-Id: Ide56e6aa40f9b7175b55a830caf34c47e48213af

9 years agoam 0028b9d3: Merge "ART: Add support for special handlers in sigchainlib"
Andreas Gampe [Fri, 29 May 2015 15:35:37 +0000 (15:35 +0000)]
am 0028b9d3: Merge "ART: Add support for special handlers in sigchainlib"

* commit '0028b9d3b7d73ba0a045d50a0fe2797e51a4e6b6':
  ART: Add support for special handlers in sigchainlib

9 years agoMerge "ART: Add support for special handlers in sigchainlib"
Andreas Gampe [Fri, 29 May 2015 15:26:21 +0000 (15:26 +0000)]
Merge "ART: Add support for special handlers in sigchainlib"

9 years agoam 66a7d7a4: Merge "Support for inlining methods that call/throw."
Nicolas Geoffray [Fri, 29 May 2015 14:06:47 +0000 (14:06 +0000)]
am 66a7d7a4: Merge "Support for inlining methods that call/throw."

* commit '66a7d7a4612b0dfb8a409fbf05bbefd07122fd80':
  Support for inlining methods that call/throw.

9 years agoam bd699ea0: Merge "Bring Reference Type Propagation to Instance/StaticInstanceField"
Roland Levillain [Fri, 29 May 2015 14:06:45 +0000 (14:06 +0000)]
am bd699ea0: Merge "Bring Reference Type Propagation to Instance/StaticInstanceField"

* commit 'bd699ea018d12b061282f17a6abf329590ab263c':
  Bring Reference Type Propagation to Instance/StaticInstanceField

9 years agoMerge "Support for inlining methods that call/throw."
Nicolas Geoffray [Fri, 29 May 2015 14:03:10 +0000 (14:03 +0000)]
Merge "Support for inlining methods that call/throw."

9 years agoMerge "Bring Reference Type Propagation to Instance/StaticInstanceField"
Roland Levillain [Fri, 29 May 2015 13:57:36 +0000 (13:57 +0000)]
Merge "Bring Reference Type Propagation to Instance/StaticInstanceField"

9 years agoSupport for inlining methods that call/throw.
Nicolas Geoffray [Mon, 18 May 2015 21:31:29 +0000 (22:31 +0100)]
Support for inlining methods that call/throw.

Mostly fixes here and there to make it working.

Change-Id: I1b535e895105d78b65634636d675b818551f783e

9 years agoam 05f763b8: Merge "Also add run-test dependencies to build-art-*-tests."
Nicolas Geoffray [Fri, 29 May 2015 13:08:55 +0000 (13:08 +0000)]
am 05f763b8: Merge "Also add run-test dependencies to build-art-*-tests."

* commit '05f763b892c1fea61428752aa5576f4f656a6463':
  Also add run-test dependencies to build-art-*-tests.

9 years agoMerge "Also add run-test dependencies to build-art-*-tests."
Nicolas Geoffray [Fri, 29 May 2015 12:55:54 +0000 (12:55 +0000)]
Merge "Also add run-test dependencies to build-art-*-tests."

9 years agoam a15c78d3: Merge "Use the new HCurrentMethod in HLoadString."
Nicolas Geoffray [Fri, 29 May 2015 12:55:31 +0000 (12:55 +0000)]
am a15c78d3: Merge "Use the new HCurrentMethod in HLoadString."

* commit 'a15c78d3cc28f514a482ffd792a767e97fe53c95':
  Use the new HCurrentMethod in HLoadString.

9 years agoMerge "Use the new HCurrentMethod in HLoadString."
Nicolas Geoffray [Fri, 29 May 2015 12:43:13 +0000 (12:43 +0000)]
Merge "Use the new HCurrentMethod in HLoadString."

9 years agoAlso add run-test dependencies to build-art-*-tests.
Nicolas Geoffray [Fri, 29 May 2015 12:40:25 +0000 (13:40 +0100)]
Also add run-test dependencies to build-art-*-tests.

Change-Id: If02c1a9426c2d04f4fad8892e387b2fb6c48ee2f

9 years agoam 5adb8b6b: Merge "Fix typo in script."
Nicolas Geoffray [Fri, 29 May 2015 11:30:55 +0000 (11:30 +0000)]
am 5adb8b6b: Merge "Fix typo in script."

* commit '5adb8b6b3c7e97b94a2b28258847b947895faeea':
  Fix typo in script.

9 years agoMerge "Fix typo in script."
Nicolas Geoffray [Fri, 29 May 2015 11:20:12 +0000 (11:20 +0000)]
Merge "Fix typo in script."

9 years agoam 1a0bd725: Merge "Update libcore failures"
Nicolas Geoffray [Fri, 29 May 2015 11:17:47 +0000 (11:17 +0000)]
am 1a0bd725: Merge "Update libcore failures"

* commit '1a0bd72563a525dbb5d2a06f818ec7113dcf67c1':
  Update libcore failures

9 years agoFix typo in script.
Nicolas Geoffray [Fri, 29 May 2015 11:17:06 +0000 (12:17 +0100)]
Fix typo in script.

Change-Id: I853bb5758005f9f7c4940f815c3d72a1d48acd21

9 years agoUse the new HCurrentMethod in HLoadString.
Nicolas Geoffray [Fri, 29 May 2015 11:06:56 +0000 (12:06 +0100)]
Use the new HCurrentMethod in HLoadString.

Change-Id: I23d27e5e10736d127519eb3238ff8f25df3843a2

9 years agoMerge "Update libcore failures"
Nicolas Geoffray [Fri, 29 May 2015 11:03:52 +0000 (11:03 +0000)]
Merge "Update libcore failures"

9 years agoUpdate libcore failures
Wojciech Staszkiewicz [Fri, 29 May 2015 10:12:59 +0000 (11:12 +0100)]
Update libcore failures

Default device date (1970) is causing some tests to fail. This
change updates libcore failures to reflect this knowledge.

Change-Id: Ia8151cfa1600fba4b45c203d468de9244b322d61

9 years agoam fa2d9424: Merge "Add a script to build exactly like the chrome buildbot."
Nicolas Geoffray [Fri, 29 May 2015 10:50:44 +0000 (10:50 +0000)]
am fa2d9424: Merge "Add a script to build exactly like the chrome buildbot."

* commit 'fa2d94249871261c973b9c9f3827c494fe270f61':
  Add a script to build exactly like the chrome buildbot.

9 years agoBring Reference Type Propagation to Instance/StaticInstanceField
Guillaume "Vermeille" Sanchez [Wed, 20 May 2015 16:52:13 +0000 (17:52 +0100)]
Bring Reference Type Propagation to Instance/StaticInstanceField

For this, we need the field index in FieldInfo, hence the add of the field.

Change-Id: Id219bd826d8496acf3981307a8c42e2eb6ddb712

9 years agoMerge "Add a script to build exactly like the chrome buildbot."
Nicolas Geoffray [Fri, 29 May 2015 10:41:40 +0000 (10:41 +0000)]
Merge "Add a script to build exactly like the chrome buildbot."

9 years agoAdd a script to build exactly like the chrome buildbot.
Nicolas Geoffray [Fri, 29 May 2015 09:54:12 +0000 (10:54 +0100)]
Add a script to build exactly like the chrome buildbot.

The buildbot will use that script directly.

Change-Id: I837432f1e1e9b9d238d91de9af51ad955f7cd76d

9 years agoFix double-exception in super-class method validation.
Vladimir Marko [Fri, 8 May 2015 11:26:59 +0000 (12:26 +0100)]
Fix double-exception in super-class method validation.

Bug: 19333589
Change-Id: I2399c4058d488bbdbf6709c63e367f1b7c251b1d

9 years agoam 25e447d5: Merge "ART: Fix valgrind Makefile"
Andreas Gampe [Fri, 29 May 2015 03:29:58 +0000 (03:29 +0000)]
am 25e447d5: Merge "ART: Fix valgrind Makefile"

* commit '25e447d53cf4e7ca087c8ac77df11acddb595564':
  ART: Fix valgrind Makefile

9 years agoMerge "ART: Fix valgrind Makefile"
Andreas Gampe [Fri, 29 May 2015 03:18:25 +0000 (03:18 +0000)]
Merge "ART: Fix valgrind Makefile"

9 years agoART: Fix valgrind Makefile
Andreas Gampe [Fri, 29 May 2015 03:17:09 +0000 (20:17 -0700)]
ART: Fix valgrind Makefile

Add a missing dependency that lead to runtime errors.

Change-Id: Idbaed6bcc56a644713f10847f8600dc0f962202f

9 years agoam 33601370: Merge "ART: Add Mips o32 callee-save registers to SaveAll frame"
Andreas Gampe [Fri, 29 May 2015 00:57:53 +0000 (00:57 +0000)]
am 33601370: Merge "ART: Add Mips o32 callee-save registers to SaveAll frame"

* commit '336013702f77a0abdc56a90ef75d88264f6247b6':
  ART: Add Mips o32 callee-save registers to SaveAll frame

9 years agoMerge "ART: Add Mips o32 callee-save registers to SaveAll frame"
Andreas Gampe [Fri, 29 May 2015 00:47:42 +0000 (00:47 +0000)]
Merge "ART: Add Mips o32 callee-save registers to SaveAll frame"

9 years agoam 78011df8: Merge "Add JNI String.<init> test for global and weak global refs."
Jeff Hao [Thu, 28 May 2015 23:12:31 +0000 (23:12 +0000)]
am 78011df8: Merge "Add JNI String.<init> test for global and weak global refs."

* commit '78011df89ac172d25f337132386c2a284b34dfdd':
  Add JNI String.<init> test for global and weak global refs.

9 years agoam 24c24d43: Merge "Fix updating of JNI references for String.<init>."
Jeff Hao [Thu, 28 May 2015 23:12:30 +0000 (23:12 +0000)]
am 24c24d43: Merge "Fix updating of JNI references for String.<init>."

* commit '24c24d43f53224bf41a41eb214c5256dda93668d':
  Fix updating of JNI references for String.<init>.

9 years agoMerge "Add JNI String.<init> test for global and weak global refs."
Jeff Hao [Thu, 28 May 2015 22:50:19 +0000 (22:50 +0000)]
Merge "Add JNI String.<init> test for global and weak global refs."

9 years agoAdd JNI String.<init> test for global and weak global refs.
Jeff Hao [Thu, 28 May 2015 21:32:07 +0000 (14:32 -0700)]
Add JNI String.<init> test for global and weak global refs.

Test for change:
https://android-review.googlesource.com/#/c/152265/

(cherry picked from commit 7be83025b62ab499ed8b2b59521f8fbe8e2b13ab)

Change-Id: If10a5fcf7a554d798d2bb21d493e5a7266ed0079

9 years agoMerge "Fix updating of JNI references for String.<init>."
Jeff Hao [Thu, 28 May 2015 22:47:58 +0000 (22:47 +0000)]
Merge "Fix updating of JNI references for String.<init>."

9 years agoam 023e6f6d: Merge "Add --generate-debug-info flag and remove the other two flags."
David Srbecky [Thu, 28 May 2015 18:53:23 +0000 (18:53 +0000)]
am 023e6f6d: Merge "Add --generate-debug-info flag and remove the other two flags."

* commit '023e6f6d67d6ab520e194d142f3adaafb6e3a11d':
  Add --generate-debug-info flag and remove the other two flags.

9 years agoART: Add support for special handlers in sigchainlib
Andreas Gampe [Sat, 23 May 2015 01:31:50 +0000 (18:31 -0700)]
ART: Add support for special handlers in sigchainlib

Add support for a special managed handler in sigchainlib that
will be called as the first user handler.

Use this support for native bridge v2. Extend test 115-native-bridge
to test the functionality.

Bug: 20217701
Change-Id: I78cc01fbdabe169154ff6b94c9f3ddb95b5c7448

9 years agoMerge "Add --generate-debug-info flag and remove the other two flags."
David Srbecky [Thu, 28 May 2015 18:37:35 +0000 (18:37 +0000)]
Merge "Add --generate-debug-info flag and remove the other two flags."

9 years agoAdd --generate-debug-info flag and remove the other two flags.
David Srbecky [Thu, 28 May 2015 15:12:43 +0000 (16:12 +0100)]
Add --generate-debug-info flag and remove the other two flags.

Replace the flags --include-debug-symbols and --include-cfi
with single flag called --generate-debug-info (with alias -g).

The name "symbol" was not ideal, since depending on context it
may be interpreted as "ELF symbols", or "debugging information".

This CL also means that we have only the options to include
either all debugging information or none.  This should be fine,
since we can use standard tools to strip anything we do not want.

Change-Id: I721fded56d755d7eed0ef36aa84e841a1f5747f8

9 years agoam 6f84e504: Merge "ART: Distinguish Checker lines from comments"
David Brazdil [Thu, 28 May 2015 14:55:45 +0000 (14:55 +0000)]
am 6f84e504: Merge "ART: Distinguish Checker lines from comments"

* commit '6f84e50443f1ead31efb25ecbdfb51c1037e4519':
  ART: Distinguish Checker lines from comments

9 years agoMerge "ART: Distinguish Checker lines from comments"
David Brazdil [Thu, 28 May 2015 14:47:03 +0000 (14:47 +0000)]
Merge "ART: Distinguish Checker lines from comments"

9 years agoART: Add Mips o32 callee-save registers to SaveAll frame
Andreas Gampe [Thu, 28 May 2015 01:31:42 +0000 (18:31 -0700)]
ART: Add Mips o32 callee-save registers to SaveAll frame

The floating point registers f20-f31 are callee-save in the Mips
ABI. While the managed code does not touch them, they need to be
saved when throwing an exception, so that they will be correctly
restored and not smashed.

Bug: 21266656
Change-Id: Ia96d52ce7fb41bf604da1797ce4d7a703e292415

9 years agoART: Distinguish Checker lines from comments
David Brazdil [Thu, 28 May 2015 10:14:54 +0000 (11:14 +0100)]
ART: Distinguish Checker lines from comments

In order to prevent tests passing due to lines with hard-to-spot
formatting errors begin ignored, e.g. by forgetting the colon after
"//CHECK", Checker will now require its assertions to start with "///"
or "##", respectivelly for Java and Smali. Such lines will never be
ignored and will fail the test unless successfully parsed.

Change-Id: I0da9a8f13eb96d950af8c85df17d1899a853a299

9 years agoam b4e2fbbe: Merge "Add a HCurrentMethod node."
Nicolas Geoffray [Thu, 28 May 2015 10:21:18 +0000 (10:21 +0000)]
am b4e2fbbe: Merge "Add a HCurrentMethod node."

* commit 'b4e2fbbed28c3bcdb8fd0fee5a201ba78e1edf28':
  Add a HCurrentMethod node.

9 years agoMerge "Add a HCurrentMethod node."
Nicolas Geoffray [Thu, 28 May 2015 10:10:24 +0000 (10:10 +0000)]
Merge "Add a HCurrentMethod node."

9 years agoam 31db3432: Merge "Fix single-step in native thread"
Sebastien Hertz [Thu, 28 May 2015 10:05:55 +0000 (10:05 +0000)]
am 31db3432: Merge "Fix single-step in native thread"

* commit '31db3432157caac55584a59827c69b303ba09d13':
  Fix single-step in native thread

9 years agoMerge "Fix single-step in native thread"
Sebastien Hertz [Thu, 28 May 2015 09:56:32 +0000 (09:56 +0000)]
Merge "Fix single-step in native thread"

9 years agoam 2b2288f2: Merge "Fix rule: the exe must be first dependency."
Nicolas Geoffray [Thu, 28 May 2015 09:50:53 +0000 (09:50 +0000)]
am 2b2288f2: Merge "Fix rule: the exe must be first dependency."

* commit '2b2288f2abbcdcd1201b322008fa30495d724d51':
  Fix rule: the exe must be first dependency.

9 years agoam 01908ebc: Merge "Refactor makefiles to allow just building tests."
Nicolas Geoffray [Thu, 28 May 2015 09:50:51 +0000 (09:50 +0000)]
am 01908ebc: Merge "Refactor makefiles to allow just building tests."

* commit '01908ebcea21a8cbdfe7ba0cb4ddb2661292c69d':
  Refactor makefiles to allow just building tests.

9 years agoAdd a HCurrentMethod node.
Nicolas Geoffray [Wed, 27 May 2015 16:18:33 +0000 (17:18 +0100)]
Add a HCurrentMethod node.

This enables register allocation for the current method, so
that users of it don't always load it from the stack.

Currently only used by HLoadClass. Will make follow-up
CLs for the other users.

Change-Id: If73324d85643102faba47fabbbd2755eb258c59c

9 years agoFix single-step in native thread
Sebastien Hertz [Thu, 28 May 2015 09:00:57 +0000 (11:00 +0200)]
Fix single-step in native thread

If we attempt to single-step in a thread that is not running Java
code, there is no current method on the stack. So we need to check
for null before trying to decode debug info.

Bug: 21320157
Change-Id: Idef9954d14e1eb7185f25d2a6e238135ac52d35f

9 years agoMerge "Fix rule: the exe must be first dependency."
Nicolas Geoffray [Thu, 28 May 2015 09:27:40 +0000 (09:27 +0000)]
Merge "Fix rule: the exe must be first dependency."

9 years agoFix rule: the exe must be first dependency.
Nicolas Geoffray [Thu, 28 May 2015 09:21:03 +0000 (10:21 +0100)]
Fix rule: the exe must be first dependency.

Change-Id: Ic59a0c38ae8d7d1efc439014e694a95063a7589d

9 years agoMerge "Refactor makefiles to allow just building tests."
Nicolas Geoffray [Thu, 28 May 2015 08:37:21 +0000 (08:37 +0000)]
Merge "Refactor makefiles to allow just building tests."

9 years agoRefactor makefiles to allow just building tests.
Nicolas Geoffray [Wed, 27 May 2015 18:10:27 +0000 (19:10 +0100)]
Refactor makefiles to allow just building tests.

Also add a way to avoid syncing to the device, in case
a previous sync did it.

Change-Id: I38673cad712f8ddff641589cea50ca0d0dc04850

9 years agoFix updating of JNI references for String.<init>.
Jeff Hao [Thu, 28 May 2015 02:29:29 +0000 (19:29 -0700)]
Fix updating of JNI references for String.<init>.

Was missing updates to globals and weak globals.

Bug: 21288130
Bug: 21440428

(cherry picked from commit 1a302fb4f84525289c1cf7a437f5be1999a75251)

Change-Id: I41b64e8aae906f5986de483db096d8191e45f260

9 years agoam b71c5878: Merge "Fix build - large frame size of ElfWriterQuick<ElfTypes>::Write...
David Srbecky [Thu, 28 May 2015 01:15:48 +0000 (01:15 +0000)]
am b71c5878: Merge "Fix build - large frame size of ElfWriterQuick<ElfTypes>::Write (again)."

* commit 'b71c5878e6607fdc6a6f8624f4e9507d25116a53':
  Fix build - large frame size of ElfWriterQuick<ElfTypes>::Write (again).

9 years agoMerge "Fix build - large frame size of ElfWriterQuick<ElfTypes>::Write (again)."
David Srbecky [Thu, 28 May 2015 01:04:02 +0000 (01:04 +0000)]
Merge "Fix build - large frame size of ElfWriterQuick<ElfTypes>::Write (again)."

9 years agoFix build - large frame size of ElfWriterQuick<ElfTypes>::Write (again).
David Srbecky [Wed, 27 May 2015 23:59:08 +0000 (00:59 +0100)]
Fix build - large frame size of ElfWriterQuick<ElfTypes>::Write (again).

Change-Id: I8a3277835f22a23c31063eda9b7f1fdc9423a5b0

9 years agoam 38bb2ab8: Merge "Fix valgrind includes"
Dmitriy Ivanov [Wed, 27 May 2015 23:40:58 +0000 (23:40 +0000)]
am 38bb2ab8: Merge "Fix valgrind includes"

* commit '38bb2ab825f83488ec38c9b07072da0f53777867':
  Fix valgrind includes

9 years agoMerge "Fix valgrind includes"
Dmitriy Ivanov [Wed, 27 May 2015 23:29:03 +0000 (23:29 +0000)]
Merge "Fix valgrind includes"

9 years agoam d99aae11: Merge "Reset libc targetSdkVersion"
Dmitriy Ivanov [Wed, 27 May 2015 22:56:36 +0000 (22:56 +0000)]
am d99aae11: Merge "Reset libc targetSdkVersion"

* commit 'd99aae117984dc655abbd408d1caa7cc09e4e6c8':
  Reset libc targetSdkVersion

9 years agoam 33d75bc7: Merge "ART: Fix VerifyObject runtime verification"
Andreas Gampe [Wed, 27 May 2015 22:56:34 +0000 (22:56 +0000)]
am 33d75bc7: Merge "ART: Fix VerifyObject runtime verification"

* commit '33d75bc75c72db7e5b1ea4ad0be287b1dfd72e69':
  ART: Fix VerifyObject runtime verification

9 years agoMerge "Reset libc targetSdkVersion"
Dmitriy Ivanov [Wed, 27 May 2015 22:44:25 +0000 (22:44 +0000)]
Merge "Reset libc targetSdkVersion"

9 years agoMerge "ART: Fix VerifyObject runtime verification"
Andreas Gampe [Wed, 27 May 2015 22:41:30 +0000 (22:41 +0000)]
Merge "ART: Fix VerifyObject runtime verification"

9 years agoFix valgrind includes
Dmitriy Ivanov [Wed, 27 May 2015 22:34:38 +0000 (15:34 -0700)]
Fix valgrind includes

 external/valgrind structure has been changed
 to reflect upstream projects struture.

 Making corresponding changes to art includes.

Change-Id: I2434a270f88502528df82c4820afedb002b65b8d

9 years agoam 65efe919: Merge "Split .oat_patches to multiple sections."
David Srbecky [Wed, 27 May 2015 21:48:52 +0000 (21:48 +0000)]
am 65efe919: Merge "Split .oat_patches to multiple sections."

* commit '65efe9192390187674108b9c895ba225628bb07b':
  Split .oat_patches to multiple sections.

9 years agoMerge "Split .oat_patches to multiple sections."
David Srbecky [Wed, 27 May 2015 21:39:29 +0000 (21:39 +0000)]
Merge "Split .oat_patches to multiple sections."

9 years agoReset libc targetSdkVersion
Dmitriy Ivanov [Sat, 23 May 2015 01:03:34 +0000 (18:03 -0700)]
Reset libc targetSdkVersion

 This will let libc/linker know which sdk version
 is targeted by the app. This is needed to work around
 incorrect DT_NEEDED entries in old apps.

Bug: http://b/21364029
Change-Id: I2f2907104106aac6c8831381ca171dc0302e6a9d

9 years agoam 13df71ce: Merge "Bring Reference Type Propagation to NewArray"
Nicolas Geoffray [Wed, 27 May 2015 17:26:40 +0000 (17:26 +0000)]
am 13df71ce: Merge "Bring Reference Type Propagation to NewArray"

* commit '13df71cea8c774d28e834497288f67cb2bbb16b0':
  Bring Reference Type Propagation to NewArray

9 years agoam 55bf5b4f: Merge "Improve art::CodeInfo dumping."
Roland Levillain [Wed, 27 May 2015 17:26:38 +0000 (17:26 +0000)]
am 55bf5b4f: Merge "Improve art::CodeInfo dumping."

* commit '55bf5b4f1a570fb10d7ba8c91ac49c6bc16639ac':
  Improve art::CodeInfo dumping.

9 years agoam 19b6ab4c: Merge "Rename VisitCondition\'s argument in code generators."
Roland Levillain [Wed, 27 May 2015 17:26:37 +0000 (17:26 +0000)]
am 19b6ab4c: Merge "Rename VisitCondition\'s argument in code generators."

* commit '19b6ab4c71a1eafad755648820fa23306a4d0fb4':
  Rename VisitCondition's argument in code generators.

9 years agoMerge "Bring Reference Type Propagation to NewArray"
Nicolas Geoffray [Wed, 27 May 2015 17:13:03 +0000 (17:13 +0000)]
Merge "Bring Reference Type Propagation to NewArray"

9 years agoBring Reference Type Propagation to NewArray
Guillaume "Vermeille" Sanchez [Wed, 20 May 2015 11:42:25 +0000 (12:42 +0100)]
Bring Reference Type Propagation to NewArray

Change-Id: Ieff4f38854e06b0ed4b5689ced94a4289053d80d

9 years agoMerge "Improve art::CodeInfo dumping."
Roland Levillain [Wed, 27 May 2015 16:01:50 +0000 (16:01 +0000)]
Merge "Improve art::CodeInfo dumping."

9 years agoMerge "Rename VisitCondition's argument in code generators."
Roland Levillain [Wed, 27 May 2015 16:01:13 +0000 (16:01 +0000)]
Merge "Rename VisitCondition's argument in code generators."

9 years agoRename VisitCondition's argument in code generators.
Roland Levillain [Wed, 27 May 2015 15:39:19 +0000 (16:39 +0100)]
Rename VisitCondition's argument in code generators.

This argument is a condition instruction, not a comparison.

Change-Id: I026f799d2161df58b0c8a84600eb8fffd6f7b998

9 years agoART: Fix VerifyObject runtime verification
Andreas Gampe [Wed, 27 May 2015 04:34:09 +0000 (21:34 -0700)]
ART: Fix VerifyObject runtime verification

Update some bit-rotted code to work again. Most tests now work, for
some the verification overhead results in a timeout.

Change-Id: Ieab4f2de474a05e915e24abc93da3c2eeed996eb

9 years agoam 6c70104d: Merge "[optimizing] x86: Prefer add over lea if possible"
Nicolas Geoffray [Wed, 27 May 2015 14:30:29 +0000 (14:30 +0000)]
am 6c70104d: Merge "[optimizing] x86: Prefer add over lea if possible"

* commit '6c70104dc3ecd66b46f56cae068a14e12021c9f2':
  [optimizing] x86: Prefer add over lea if possible

9 years agoImprove art::CodeInfo dumping.
Roland Levillain [Wed, 27 May 2015 14:12:19 +0000 (15:12 +0100)]
Improve art::CodeInfo dumping.

- Refactor existing dumping code into a set of new routines.
- Use art::Indenter to properly indent in the output.
- Add an additional argument to art::CodeInfo::Dump to
  enable or disable the dumping of stack maps and Dex
  register maps.

Change-Id: I52814095ff465522302d5d69d416726369ca5258

9 years agoMerge "[optimizing] x86: Prefer add over lea if possible"
Nicolas Geoffray [Wed, 27 May 2015 14:17:08 +0000 (14:17 +0000)]
Merge "[optimizing] x86: Prefer add over lea if possible"

9 years ago[optimizing] x86: Prefer add over lea if possible
Mark Mendell [Wed, 27 May 2015 14:08:24 +0000 (10:08 -0400)]
[optimizing] x86: Prefer add over lea if possible

Looking at some generated code, I noticed an lea being used when an add
was sufficient.  Check for that case, and generate the add.

Fixed for x86 and x86_64.

Change-Id: I110304ff0fed8837ada96d34353a293d29022ce5
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
9 years agoam f109cd22: Merge "ART: Use kBadFprBase on mips64 and arm64."
Vladimir Marko [Wed, 27 May 2015 13:39:49 +0000 (13:39 +0000)]
am f109cd22: Merge "ART: Use kBadFprBase on mips64 and arm64."

* commit 'f109cd2215ba23dac23a15eb64ad21ef2b15843c':
  ART: Use kBadFprBase on mips64 and arm64.

9 years agoMerge "ART: Use kBadFprBase on mips64 and arm64."
Vladimir Marko [Wed, 27 May 2015 13:32:57 +0000 (13:32 +0000)]
Merge "ART: Use kBadFprBase on mips64 and arm64."

9 years agoam 382f5c24: Merge "Fix another source of undeterministic inlining."
Nicolas Geoffray [Wed, 27 May 2015 13:26:38 +0000 (13:26 +0000)]
am 382f5c24: Merge "Fix another source of undeterministic inlining."

* commit '382f5c24eb663ca8fa39a94a038349138a00272a':
  Fix another source of undeterministic inlining.

9 years agoMerge "Fix another source of undeterministic inlining."
Nicolas Geoffray [Wed, 27 May 2015 13:14:27 +0000 (13:14 +0000)]
Merge "Fix another source of undeterministic inlining."

9 years agoART: Use kBadFprBase on mips64 and arm64.
Vladimir Marko [Wed, 27 May 2015 13:07:08 +0000 (14:07 +0100)]
ART: Use kBadFprBase on mips64 and arm64.

Fix incorrect usage of kBadGprBase to avoid misleading and
ambiguous data in crash investigations.

Bug: 21266656
Change-Id: I1de6cd621d770be586f8140e86833769865b42c6

9 years agoFix another source of undeterministic inlining.
Nicolas Geoffray [Wed, 27 May 2015 11:53:36 +0000 (12:53 +0100)]
Fix another source of undeterministic inlining.

bug:20037935

Change-Id: Ifad234a331ec616f065aabc65576c5636ad8ec21

9 years agoam 00f09ff9: Merge "Pass the dex method index directly to interface trampoline."
Nicolas Geoffray [Wed, 27 May 2015 11:21:15 +0000 (11:21 +0000)]
am 00f09ff9: Merge "Pass the dex method index directly to interface trampoline."

* commit '00f09ff93480d5f43aaf657650a59d57330184aa':
  Pass the dex method index directly to interface trampoline.

9 years agoMerge "Pass the dex method index directly to interface trampoline."
Nicolas Geoffray [Wed, 27 May 2015 11:08:51 +0000 (11:08 +0000)]
Merge "Pass the dex method index directly to interface trampoline."

9 years agoPass the dex method index directly to interface trampoline.
Nicolas Geoffray [Tue, 26 May 2015 15:29:08 +0000 (16:29 +0100)]
Pass the dex method index directly to interface trampoline.

This avoids computing the dex pc and re-finding the method
index again. I have kept the code for kDebugBuild.

Change-Id: Icd60e0deade755e32b54021c0875b1af592b8c3e

9 years agoam ec1170a4: Merge "Add missing oatdump test dependency"
Mathieu Chartier [Wed, 27 May 2015 03:09:05 +0000 (03:09 +0000)]
am ec1170a4: Merge "Add missing oatdump test dependency"

* commit 'ec1170a4bf9d1c0baa00640d2cbc1e6870bc7f68':
  Add missing oatdump test dependency

9 years agoMerge "Add missing oatdump test dependency"
Mathieu Chartier [Wed, 27 May 2015 02:57:09 +0000 (02:57 +0000)]
Merge "Add missing oatdump test dependency"