OSDN Git Service

ART: Show invalid oat header cause in error message
authorAndreas Gampe <agampe@google.com>
Fri, 12 Dec 2014 23:25:14 +0000 (15:25 -0800)
committerAndreas Gampe <agampe@google.com>
Mon, 15 Dec 2014 16:13:39 +0000 (08:13 -0800)
commit2bcb3b228bc418bcc7fdc3d58d0a0da422a0b6d5
tree8c37d77a5d7784ddbbaf221c72c0e66792c5a872
parentd1512fed4e43bba77fb21fd1b6322c22ef7c5881
ART: Show invalid oat header cause in error message

Include the IsValid failure cause in the error message of opening
an oat file.

Make oat magic and version constexpr so we can have static_asserts
over the lengths.

Bug: 17187621
Change-Id: I8cef1c6cc9cb2faa052167a3437e81b4c2cbefa7
runtime/oat.cc
runtime/oat.h
runtime/oat_file.cc