commit | daab38ca60c5b91787e29c87a161a2bb8c1b6f11 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Fri Sep 12 18:38:24 2014 -0700 |
committer | Andreas Gampe <agampe@google.com> | Mon Sep 15 22:34:11 2014 -0700 |
tree | 0b155557e516ec1ff571c359af904e00d31d0c43 | |
parent | d2e5a6934ca1a07c9e1e87d3d0b21b63e1011934 [diff] |
ART: Make elf loading not abort Changes elf_file code to use less CHECKs and instead return error values (usually nullptr). This avoids aborts. In oat_file, when loading an oat file fails, try to unlink at. If this succeeds, on the next run we may compile again. Bug: 17491333 (cherry picked from commit afa6b8e93a0dc0de33c9d404945c7c5621e20b1a) Change-Id: I50fdd2edacd86f25d4dacf2180ce2a6105eaf4af