History log of /art/libdexfile/dex/compact_dex_file.h
Revision Date Author Comments
6f71650075c7661da52d8a44f127fe82f19e8084 14-Mar-2018 Mathieu Chartier <mathieuc@google.com> Add owned section for CompactDex

The owned section is the part of the shared data section owned by
a given dex file. This enables efficiently attributing an offset to
a dex file.

Bug: 74443371
Bug: 63756964
Test: test-art-host

(cherry-picked from commit 2a66809d28c9ee1cbabe52991dbf526095c96c04)

Merged-In: I2de9a281e18b02a20c3dcf5f484eacb591220cdc
Change-Id: I2de9a281e18b02a20c3dcf5f484eacb591220cdc
5e3cfa295a44d4f1a0eb26134c6f866b27245a9f 21-Feb-2018 Mathieu Chartier <mathieuc@google.com> Generalize CompactDexDebugInfo offset table

Renamed the class to CompactOffsetTable.

Motivation: Use this table for quicken info offsets too.

Bug: 72608794
Bug: 63756964
Test: test-art-host-gtest
Change-Id: Idcb5355d8a5e4354bc3694152a7270047bed9d0a
ccb0019c9c60617dcd420c6c92a931e1d82c4920 18-Feb-2018 George Burgess IV <gbiv@google.com> Fix a memory leak

dex_file is meant to take ownership of `container`. There's at least
one path (`error_msg = "Invalid or truncated dex file";`) where
`container` never gets passed along to a dex_file.

Caught by the static analyzer:
art/runtime/dex/dex_file_loader.cc:406:45: warning: Potential memory
leak

Bug: None
Test: Reran the analyzer. Memory leak complaints are gone.
Change-Id: Ib57008e444d32b366bb2beabec8e39b8e84fd9db
334b9d73482fba9c335d9b758041fc0865ef74d4 13-Feb-2018 David Sehr <sehr@google.com> Move libdexfile out of runtime

Move the files out of runtime, leaving unfortunate dependences still
there on runtime/base (for the moment). Also separates the build logic
into two Android.bp files.

Bug: 22322814
Test: make -j 50 test-art-host
Change-Id: Ib0a1cda833b29ecfa4c8c50f23fab89ba666f491