android_system_core/libunwindstack/include/unwindstack
Sim Sun 273d3f08aa Avoid re-mapping dex file that's in local memory.
If the Dex file we're trying to examine is already within the unwinder's
address space, we don't need to load it from disk or copy it across
processes.

This avoids using up virtual address space to map in dex files, and
also should be a bit faster to read since it won't go out to the file.

Patch by Chris Sarbora

Test: Ran new unit tests.
Test: Ran 137-cfi art test.
Change-Id: I949457856f051cca11b9020e9da3a41bbf6e5c8e
2020-04-07 18:07:38 -07:00
..
DexFiles.h Revert "Check for data races when reading JIT/DEX entries." 2019-04-05 18:23:32 +00:00
DwarfError.h Add error propagation into Unwinder/Elf objects. 2018-01-24 17:50:46 -08:00
DwarfLocation.h Cache DWARF location rules for a given pc. 2018-03-29 14:47:13 +00:00
DwarfMemory.h Handle when bias is different in elf headers. 2019-10-08 17:36:06 +00:00
DwarfSection.h Fix potential bad info in eh_frame_hdr. 2019-10-29 18:39:30 -07:00
DwarfStructs.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
Elf.h Fix support finding global variables. 2019-12-03 17:35:00 -08:00
ElfInterface.h Fix support finding global variables. 2019-12-03 17:35:00 -08:00
Error.h Fix pc/function name for signal handler frame. 2019-04-12 17:23:18 -07:00
Global.h Fix support finding global variables. 2019-12-03 17:35:00 -08:00
JitDebug.h Revert "Check for data races when reading JIT/DEX entries." 2019-04-05 18:23:32 +00:00
LocalUnwinder.h Add a specialized LocalUnwinder object. 2018-05-23 20:02:30 -07:00
Log.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MachineArm.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
MachineArm64.h Include PSTATE in tombstones on arm64. 2019-11-18 17:57:37 -08:00
MachineMips.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
MachineMips64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
MachineX86.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
MachineX86_64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
MapInfo.h Properly handle empty map after read-only map. 2020-01-22 18:30:12 -08:00
Maps.h Fix LocalUpdatableMaps 2019-09-16 18:28:38 -07:00
Memory.h Avoid re-mapping dex file that's in local memory. 2020-04-07 18:07:38 -07:00
Regs.h Make GetPcAdjustment a free function. 2020-03-19 17:51:20 -07:00
RegsArm.h Make GetPcAdjustment a free function. 2020-03-19 17:51:20 -07:00
RegsArm64.h Make GetPcAdjustment a free function. 2020-03-19 17:51:20 -07:00
RegsGetLocal.h Remove mips build. 2020-03-06 22:02:09 -08:00
RegsMips.h Make GetPcAdjustment a free function. 2020-03-19 17:51:20 -07:00
RegsMips64.h Make GetPcAdjustment a free function. 2020-03-19 17:51:20 -07:00
RegsX86.h Make GetPcAdjustment a free function. 2020-03-19 17:51:20 -07:00
RegsX86_64.h Make GetPcAdjustment a free function. 2020-03-19 17:51:20 -07:00
UcontextArm.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UcontextArm64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UcontextMips.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UcontextMips64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UcontextX86.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UcontextX86_64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
Unwinder.h Move PC-only unwind frame generation to libunwindstack. 2020-03-26 13:39:05 -07:00
UserArm.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UserArm64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UserMips.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UserMips64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UserX86.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UserX86_64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00