This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v2 0/4] Add a DWARF index cache
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>
- Date: Wed, 25 Jul 2018 18:47:00 -0400
- Subject: [PATCH v2 0/4] Add a DWARF index cache
This is v2 of:
https://sourceware.org/ml/gdb-patches/2018-07/msg00230.html
I believe this addresses all of Tom's comments.
Simon Marchi (4):
Make index reading functions more modular
Introduce mmap_file function
Add DWARF index cache
Add doc and news for DWARF index cache
gdb/Makefile.in | 3 +
gdb/NEWS | 3 +
gdb/build-id.h | 11 +
gdb/common/pathstuff.c | 24 ++
gdb/common/pathstuff.h | 10 +
gdb/common/scoped_mmap.c | 44 +++
gdb/common/scoped_mmap.h | 26 +-
gdb/doc/gdb.texinfo | 36 +++
gdb/dwarf-index-cache.c | 498 +++++++++++++++++++++++++++++++++
gdb/dwarf-index-cache.h | 112 ++++++++
gdb/dwarf-index-common.h | 5 +
gdb/dwarf-index-write.c | 83 ++++--
gdb/dwarf-index-write.h | 34 +++
gdb/dwarf2read.c | 253 ++++++++++++-----
gdb/dwarf2read.h | 5 +
gdb/testsuite/gdb.base/index-cache.c | 23 ++
gdb/testsuite/gdb.base/index-cache.exp | 204 ++++++++++++++
gdb/testsuite/gdb.base/maint.exp | 24 ++
gdb/unittests/scoped_mmap-selftests.c | 54 ++++
19 files changed, 1352 insertions(+), 100 deletions(-)
create mode 100644 gdb/common/scoped_mmap.c
create mode 100644 gdb/dwarf-index-cache.c
create mode 100644 gdb/dwarf-index-cache.h
create mode 100644 gdb/dwarf-index-write.h
create mode 100644 gdb/testsuite/gdb.base/index-cache.c
create mode 100644 gdb/testsuite/gdb.base/index-cache.exp
--
2.7.4