From: Simon Marchi <simon.marchi@ericsson.com>
To: <gdb-patches@sourceware.org>
Cc: Simon Marchi <simon.marchi@ericsson.com>
Subject: [PATCH v2 0/4] Add a DWARF index cache
Date: Wed, 25 Jul 2018 22:47:00 -0000 [thread overview]
Message-ID: <1532558824-829-1-git-send-email-simon.marchi@ericsson.com> (raw)
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
next reply other threads:[~2018-07-25 22:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-25 22:47 Simon Marchi [this message]
2018-07-25 22:47 ` [PATCH v2 2/4] Introduce mmap_file function Simon Marchi
2018-07-25 22:47 ` [PATCH v2 4/4] Add doc and news for DWARF index cache Simon Marchi
2018-07-27 8:50 ` Eli Zaretskii
2018-07-30 19:04 ` Simon Marchi
2018-07-30 19:23 ` Eli Zaretskii
2018-07-25 22:48 ` [PATCH v2 3/4] Add " Simon Marchi
2018-07-27 9:06 ` Eli Zaretskii
2018-07-27 14:01 ` Simon Marchi
2018-07-27 21:25 ` Eli Zaretskii
2018-07-30 15:33 ` Simon Marchi
2018-07-30 15:45 ` Simon Marchi
2018-07-30 15:57 ` Eli Zaretskii
2018-07-30 17:05 ` Simon Marchi
2018-07-25 22:48 ` [PATCH v2 1/4] Make index reading functions more modular Simon Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1532558824-829-1-git-send-email-simon.marchi@ericsson.com \
--to=simon.marchi@ericsson.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox