Sometimes the crash in the JIT'ed code is due to CPU bugs which are sensitive to placement of the code. Change-Id: I017ec3620f8172e2fac9e7abfa07f76b65db2306
This adds the list of referenced classes to the output. Previously it only emitted fields and methods, so classes that were referenced by type only (e.g. some dalvik annotation classes) weren't visible. The XML output now more closely resembles the API files, having distinct package/class tags. We no longer emit a return type for constructors.
1. A switch statement was missing a "break" after option letter "f". 2. The heavily-used function "lookupMethod()" had an expression using mod (%) instead of bitwise-and (&).
…ses. Some corner cases are still not handled in the code, but will be eventually.
Added support for the creation of test traces with unmatched entries/exits (current implementation segfaulted in some cases)
…ment Change-Id: Id897031b76f41600b7665ae27521167c70092247
Return nonzero exit status on failure. Change tabs to spaces.
… and usually crash. Watch for any activity on stderr instead of looking for an error message. BUG=1758365 Automated import of CL 144290
Added "dexcheck" shell script, which runs the dexdump checksum verification against every file in /data/dalvik-cache. Added "-c" flag to dexdump, which quits after the checksum test (faster than sending everything to /dev/null). Initialize a ZipArchive struct earlier; without this dexdump was crashing in some situations when dealing with a nonexistent file. BUG=1749836 Automated import of CL 144278
Automated import of CL 143120