From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from alt-proxy28.mail.unifiedlayer.com (alt-proxy28.mail.unifiedlayer.com [74.220.216.123]) by sourceware.org (Postfix) with ESMTPS id BA8523858C52 for ; Mon, 4 Apr 2022 19:53:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BA8523858C52 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com Received: from cmgw15.mail.unifiedlayer.com (unknown [10.0.90.130]) by progateway1.mail.pro1.eigbox.com (Postfix) with ESMTP id 313571003F6D2 for ; Mon, 4 Apr 2022 19:53:46 +0000 (UTC) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTP id bSlln5fFukku4bSlmnNOoM; Mon, 04 Apr 2022 19:53:46 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=R6XGpfdX c=1 sm=1 tr=0 ts=624b4cca a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=z0gMJWrwH1QA:10:nop_rcvd_month_year a=Qbun_eYptAEA:10:endurance_base64_authed_username_1 a=T-HkSUDjSwlYucHvR8IA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=osAJPMzaNDiMajg3WtWkq6P1a0gIM470jmn6KSQ0HhQ=; b=TzkxXgqjja42r4e5RIYki16oTm QmkfCqOLqhvheAuKFYXprkfixaCC0k56eHMHn4dx9WNQt+J7kW/TP2KqOfEKdWYH0GKMCHAj2YZ8T ISyTztTLvSAkd7gROLj9Ccbky; Received: from 71-211-176-135.hlrn.qwest.net ([71.211.176.135]:34802 helo=prentzel.Home) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nbSll-003uHX-Dy; Mon, 04 Apr 2022 13:53:45 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH v4 24/34] Parallelize DWARF indexing Date: Mon, 4 Apr 2022 13:53:25 -0600 Message-Id: <20220404195335.2111906-25-tom@tromey.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220404195335.2111906-1-tom@tromey.com> References: <20220404195335.2111906-1-tom@tromey.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 71.211.176.135 X-Source-L: No X-Exim-ID: 1nbSll-003uHX-Dy X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-176-135.hlrn.qwest.net (prentzel.Home) [71.211.176.135]:34802 X-Source-Auth: tom+tromey.com X-Email-Count: 32 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-Spam-Status: No, score=-3030.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2022 19:53:49 -0000 This parallelizes the new DWARF indexer. The indexer's storage was designed so that each storage object and each indexer is fully independent. This setup makes it simple to scan different CUs independently. This patch creates a new cooked index storage object per thread, and then scans a subset of all the CUs in each such thread, using gdb's existing thread pool. In the ongoing "gdb gdb" example, this patch reduces the wall time down to 0.668923, from 0.903534. (Note that the 0.903534 is the time for the new index -- that is, when the "enable the new index" patch is rebased to before this one. However, in the final series, that patch appears toward the end. Hopefully this isn't too confusing.) --- gdb/dwarf2/cooked-index.c | 142 ++++++++++++++++++++++++++++---------- gdb/dwarf2/cooked-index.h | 118 ++++++++++++++++++++++--------- gdb/dwarf2/read.c | 115 +++++++++++++++++++++++++----- gdb/dwarf2/read.h | 4 +- 4 files changed, 290 insertions(+), 89 deletions(-) diff --git a/gdb/dwarf2/cooked-index.c b/gdb/dwarf2/cooked-index.c index 374540f09da..1a2f044091b 100644 --- a/gdb/dwarf2/cooked-index.c +++ b/gdb/dwarf2/cooked-index.c @@ -117,10 +117,41 @@ cooked_index::add (sect_offset die_offset, enum dwarf_tag tag, return result; } +cooked_index_vector::cooked_index_vector (vec_type &&vec) + : m_vector (std::move (vec)) +{ + finalize (); +} + +/* See cooked-index.h. */ + +dwarf2_per_cu_data * +cooked_index_vector::lookup (CORE_ADDR addr) +{ + for (const auto &index : m_vector) + { + dwarf2_per_cu_data *result = index->lookup (addr); + if (result != nullptr) + return result; + } + return nullptr; +} + +/* See cooked-index.h. */ + +std::vector +cooked_index_vector::get_addrmaps () +{ + std::vector result; + for (const auto &index : m_vector) + result.push_back (index->m_addrmap); + return result; +} + /* See cooked-index.h. */ -cooked_index::range -cooked_index::find (gdb::string_view name, bool completing) +cooked_index_vector::range +cooked_index_vector::find (gdb::string_view name, bool completing) { auto lower = std::lower_bound (m_entries.begin (), m_entries.end (), name, @@ -150,8 +181,8 @@ cooked_index::find (gdb::string_view name, bool completing) /* See cooked-index.h. */ gdb::unique_xmalloc_ptr -cooked_index::handle_gnat_encoded_entry (cooked_index_entry *entry, - htab_t gnat_entries) +cooked_index_vector::handle_gnat_encoded_entry (cooked_index_entry *entry, + htab_t gnat_entries) { std::string canonical = ada_decode (entry->name, false, false); if (canonical.empty ()) @@ -174,9 +205,11 @@ cooked_index::handle_gnat_encoded_entry (cooked_index_entry *entry, { gdb::unique_xmalloc_ptr new_name = make_unique_xstrndup (name.data (), name.length ()); - last = create (entry->die_offset, DW_TAG_namespace, - 0, new_name.get (), parent, - entry->per_cu); + /* It doesn't matter which obstack we allocate this on, so + we pick the most convenient one. */ + last = m_vector[0]->create (entry->die_offset, DW_TAG_namespace, + 0, new_name.get (), parent, + entry->per_cu); last->canonical = last->name; m_names.push_back (std::move (new_name)); *slot = last; @@ -191,8 +224,28 @@ cooked_index::handle_gnat_encoded_entry (cooked_index_entry *entry, /* See cooked-index.h. */ +const cooked_index_entry * +cooked_index_vector::get_main () const +{ + const cooked_index_entry *result = nullptr; + + for (const auto &index : m_vector) + { + const cooked_index_entry *entry = index->get_main (); + if (result == nullptr + || ((result->flags & IS_MAIN) == 0 + && entry != nullptr + && (entry->flags & IS_MAIN) != 0)) + result = entry; + } + + return result; +} + +/* See cooked-index.h. */ + void -cooked_index::finalize () +cooked_index_vector::finalize () { auto hash_name_ptr = [] (const void *p) { @@ -214,38 +267,26 @@ cooked_index::finalize () htab_up seen_names (htab_create_alloc (10, hash_name_ptr, eq_name_ptr, nullptr, xcalloc, xfree)); - htab_up gnat_entries (htab_create_alloc (10, hash_entry, eq_entry, - nullptr, xcalloc, xfree)); - - for (cooked_index_entry *entry : m_entries) + for (auto &index : m_vector) { - gdb_assert (entry->canonical == nullptr); - if ((entry->per_cu->lang != language_cplus - && entry->per_cu->lang != language_ada) - || (entry->flags & IS_LINKAGE) != 0) - entry->canonical = entry->name; - else + htab_up gnat_entries (htab_create_alloc (10, hash_entry, eq_entry, + nullptr, xcalloc, xfree)); + + std::vector entries + = std::move (index->m_entries); + for (cooked_index_entry *entry : entries) { - if (entry->per_cu->lang == language_ada) - { - gdb::unique_xmalloc_ptr canon_name - = handle_gnat_encoded_entry (entry, gnat_entries.get ()); - if (canon_name == nullptr) - entry->canonical = entry->name; - else - { - entry->canonical = canon_name.get (); - m_names.push_back (std::move (canon_name)); - } - } + gdb_assert (entry->canonical == nullptr); + if ((entry->per_cu->lang != language_cplus + && entry->per_cu->lang != language_ada) + || (entry->flags & IS_LINKAGE) != 0) + entry->canonical = entry->name; else { - void **slot = htab_find_slot (seen_names.get (), entry, - INSERT); - if (*slot == nullptr) + if (entry->per_cu->lang == language_ada) { gdb::unique_xmalloc_ptr canon_name - = cp_canonicalize_string (entry->name); + = handle_gnat_encoded_entry (entry, gnat_entries.get ()); if (canon_name == nullptr) entry->canonical = entry->name; else @@ -256,12 +297,39 @@ cooked_index::finalize () } else { - const cooked_index_entry *other - = (const cooked_index_entry *) *slot; - entry->canonical = other->canonical; + void **slot = htab_find_slot (seen_names.get (), entry, + INSERT); + if (*slot == nullptr) + { + gdb::unique_xmalloc_ptr canon_name + = cp_canonicalize_string (entry->name); + if (canon_name == nullptr) + entry->canonical = entry->name; + else + { + entry->canonical = canon_name.get (); + m_names.push_back (std::move (canon_name)); + } + } + else + { + const cooked_index_entry *other + = (const cooked_index_entry *) *slot; + entry->canonical = other->canonical; + } } } } + + if (m_entries.empty ()) + m_entries = std::move (entries); + else + { + size_t old_size = m_entries.size (); + m_entries.resize (m_entries.size () + entries.size ()); + memcpy (m_entries.data () + old_size, + entries.data (), entries.size () * sizeof (entries[0])); + } } m_names.shrink_to_fit (); diff --git a/gdb/dwarf2/cooked-index.h b/gdb/dwarf2/cooked-index.h index 691f6348148..188155190ec 100644 --- a/gdb/dwarf2/cooked-index.h +++ b/gdb/dwarf2/cooked-index.h @@ -1,6 +1,6 @@ /* DIE indexing - Copyright (C) 2021 Free Software Foundation, Inc. + Copyright (C) 2022 Free Software Foundation, Inc. This file is part of GDB. @@ -30,6 +30,7 @@ #include "gdbsupport/gdb_obstack.h" #include "addrmap.h" #include "gdbsupport/iterator-range.h" +#include "gdbsupport/thread-pool.h" struct dwarf2_per_cu_data; @@ -155,6 +156,8 @@ struct cooked_index_entry : public allocate_on_obstack void write_scope (struct obstack *storage, const char *sep) const; }; +class cooked_index_vector; + /* An index of interesting DIEs. This is "cooked", in contrast to a mapped .debug_names or .gdb_index, which are "raw". An entry in the index is of type cooked_index_entry. @@ -178,13 +181,6 @@ class cooked_index const cooked_index_entry *parent_entry, dwarf2_per_cu_data *per_cu); - /* Return the entry that is believed to represent the program's - "main". This will return NULL if no such entry is available. */ - const cooked_index_entry *get_main () const - { - return m_main; - } - /* Install a new fixed addrmap from the given mutable addrmap. */ void install_addrmap (addrmap *map) { @@ -192,6 +188,17 @@ class cooked_index m_addrmap = addrmap_create_fixed (map, &m_storage); } + friend class cooked_index_vector; + +private: + + /* Return the entry that is believed to represent the program's + "main". This will return NULL if no such entry is available. */ + const cooked_index_entry *get_main () const + { + return m_main; + } + /* Look up ADDR in the address map, and return either the corresponding CU, or nullptr if the address could not be found. */ @@ -200,10 +207,52 @@ class cooked_index return (dwarf2_per_cu_data *) addrmap_find (m_addrmap, addr); } - /* Finalize the index. This should be called a single time, when - the index has been fully populated. It enters all the entries - into the internal hash table. */ - void finalize (); + /* Create a new cooked_index_entry and register it with this object. + Entries are owned by this object. The new item is returned. */ + cooked_index_entry *create (sect_offset die_offset, + enum dwarf_tag tag, + cooked_index_flag flags, + const char *name, + const cooked_index_entry *parent_entry, + dwarf2_per_cu_data *per_cu) + { + return new (&m_storage) cooked_index_entry (die_offset, tag, flags, + name, parent_entry, + per_cu); + } + + /* Storage for the entries. */ + auto_obstack m_storage; + /* List of all entries. */ + std::vector m_entries; + /* If we found "main" or an entry with 'is_main' set, store it + here. */ + cooked_index_entry *m_main = nullptr; + /* When constructing the index, entries are stored on a linked list. + This member points to the head of that list. Later, they are + entered into the hash table, at which point this is no longer + used. */ + cooked_index_entry *m_start = nullptr; + /* The addrmap. This maps address ranges to dwarf2_per_cu_data + objects. */ + addrmap *m_addrmap = nullptr; +}; + +/* The main index of DIEs. The parallel DIE indexers create + cooked_index objects. Then, these are all handled to a + cooked_index_vector for storage and final indexing. The index is + made by iterating over the entries previously created. */ + +class cooked_index_vector +{ +public: + + /* A convenience typedef for the vector that is contained in this + object. */ + typedef std::vector> vec_type; + + explicit cooked_index_vector (vec_type &&vec); + DISABLE_COPY_AND_ASSIGN (cooked_index_vector); /* A simple range over part of m_entries. */ typedef iterator_range::iterator> range; @@ -219,6 +268,19 @@ class cooked_index return { m_entries.begin (), m_entries.end () }; } + /* Look up ADDR in the address map, and return either the + corresponding CU, or nullptr if the address could not be + found. */ + dwarf2_per_cu_data *lookup (CORE_ADDR addr); + + /* Return a new vector of all the addrmaps used by all the indexes + held by this object. */ + std::vector get_addrmaps (); + + /* Return the entry that is believed to represent the program's + "main". This will return NULL if no such entry is available. */ + const cooked_index_entry *get_main () const; + private: /* GNAT only emits mangled ("encoded") names in the DWARF, and does @@ -229,32 +291,20 @@ class cooked_index gdb::unique_xmalloc_ptr handle_gnat_encoded_entry (cooked_index_entry *entry, htab_t gnat_entries); - /* Create a new cooked_index_entry and register it with this object. - Entries are owned by this object. The new item is returned. */ - cooked_index_entry *create (sect_offset die_offset, - enum dwarf_tag tag, - cooked_index_flag flags, - const char *name, - const cooked_index_entry *parent_entry, - dwarf2_per_cu_data *per_cu) - { - return new (&m_storage) cooked_index_entry (die_offset, tag, flags, - name, parent_entry, - per_cu); - } + /* Finalize the index. This should be called a single time, when + the index has been fully populated. It enters all the entries + into the internal hash table. */ + void finalize (); - /* Storage for the entries. */ - auto_obstack m_storage; - /* List of all entries. */ + /* The vector of cooked_index objects. This is stored because the + entries are stored on the obstacks in those objects. */ + vec_type m_vector; + + /* List of all entries. This is sorted during finalization. */ std::vector m_entries; - /* If we found "main" or an entry with 'is_main' set, store it - here. */ - cooked_index_entry *m_main = nullptr; + /* Storage for canonical names. */ std::vector> m_names; - /* The addrmap. This maps address ranges to dwarf2_per_cu_data - objects. */ - addrmap *m_addrmap = nullptr; }; #endif /* GDB_DWARF2_COOKED_INDEX_H */ diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 094aa21303e..87512449680 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -92,6 +92,8 @@ #include "dwarf2/abbrev-cache.h" #include "cooked-index.h" #include "split-name.h" +#include "gdbsupport/parallel-for.h" +#include "gdbsupport/thread-pool.h" /* When == 1, print basic high level tracing messages. When > 1, be more verbose. @@ -6536,6 +6538,14 @@ lookup_dwo_id (struct dwarf2_cu *cu, struct die_info* comp_unit_die) static struct dwo_unit * lookup_dwo_unit (dwarf2_cu *cu, die_info *comp_unit_die, const char *dwo_name) { +#if CXX_STD_THREAD + /* We need a lock here both to handle the DWO hash table, and BFD, + which is not thread-safe. */ + static std::mutex dwo_lock; + + std::lock_guard guard (dwo_lock); +#endif + dwarf2_per_cu_data *per_cu = cu->per_cu; struct dwo_unit *dwo_unit; const char *comp_dir; @@ -6683,9 +6693,14 @@ cutu_reader::cutu_reader (dwarf2_per_cu_data *this_cu, } else { - /* If an existing_cu is provided, a dwarf2_cu must not exist for this_cu - in per_objfile yet. */ - gdb_assert (per_objfile->get_cu (this_cu) == nullptr); + /* If an existing_cu is provided, a dwarf2_cu must not exist for + this_cu in per_objfile yet. Here, CACHE doubles as a flag to + let us know that the CU is being scanned using the parallel + indexer. This assert is avoided in this case because (1) it + is irrelevant, and (2) the get_cu method is not + thread-safe. */ + gdb_assert (cache != nullptr + || per_objfile->get_cu (this_cu) == nullptr); m_new_cu.reset (new dwarf2_cu (this_cu, per_objfile)); cu = m_new_cu.get (); } @@ -7499,9 +7514,9 @@ process_psymtab_comp_unit (dwarf2_per_cu_data *this_cu, { if (per_objfile->per_bfd->using_index) { - if (!this_cu->scanned) + bool nope = false; + if (this_cu->scanned.compare_exchange_strong (nope, true)) { - this_cu->scanned = true; prepare_one_comp_unit (reader.cu, reader.comp_unit_die, pretend_language); gdb_assert (storage != nullptr); @@ -7869,6 +7884,7 @@ dwarf2_build_psymtabs_hard (dwarf2_per_objfile *per_objfile) = per_bfd->using_index ? &index_storage : nullptr; create_all_comp_units (per_objfile); build_type_psymtabs (per_objfile, index_storage_ptr); + std::vector> indexes; if (per_bfd->using_index) { per_bfd->quick_file_names_table @@ -7877,15 +7893,70 @@ dwarf2_build_psymtabs_hard (dwarf2_per_objfile *per_objfile) if (!per_bfd->debug_aranges.empty ()) read_addrmap_from_aranges (per_objfile, &per_bfd->debug_aranges, index_storage.get_addrmap ()); - } - for (const auto &per_cu : per_bfd->all_comp_units) + { + /* Ensure that complaints are handled correctly. */ + complaint_interceptor complaint_handler; + + using iter_type = typeof (per_bfd->all_comp_units.begin ()); + + /* Each thread returns a pair holding a cooked index, and a vector + of errors that should be printed. The latter is done because + GDB's I/O system is not thread-safe. run_on_main_thread could be + used, but that would mean the messages are printed after the + prompt, which looks weird. */ + using result_type = std::pair, + std::vector>; + std::vector results + = gdb::parallel_for_each (1, per_bfd->all_comp_units.begin (), + per_bfd->all_comp_units.end (), + [=] (iter_type iter, iter_type end) + { + std::vector errors; + cooked_index_storage thread_storage; + for (; iter != end; ++iter) + { + dwarf2_per_cu_data *per_cu = iter->get (); + try + { + process_psymtab_comp_unit (per_cu, per_objfile, + false, + language_minimal, + &thread_storage); + } + catch (gdb_exception &except) + { + errors.push_back (std::move (except)); + } + } + return result_type (thread_storage.release (), + std::move (errors)); + }); + + /* Only show a given exception a single time. */ + std::unordered_set seen_exceptions; + for (auto &one_result : results) + { + indexes.push_back (std::move (one_result.first)); + for (auto &one_exc : one_result.second) + { + if (seen_exceptions.insert (one_exc).second) + exception_print (gdb_stderr, one_exc); + } + } + } + } + else { - if (!per_bfd->using_index && per_cu->v.psymtab != NULL) - /* In case a forward DW_TAG_imported_unit has read the CU already. */ - continue; - process_psymtab_comp_unit (per_cu.get (), per_objfile, false, - language_minimal, index_storage_ptr); + for (const auto &per_cu : per_bfd->all_comp_units) + { + if (!per_bfd->using_index && per_cu->v.psymtab != NULL) + /* In case a forward DW_TAG_imported_unit has read the CU + already. */ + continue; + process_psymtab_comp_unit (per_cu.get (), per_objfile, false, + language_minimal, nullptr); + } } /* This has to wait until we read the CUs, we need the list of DWOs. */ @@ -7903,8 +7974,20 @@ dwarf2_build_psymtabs_hard (dwarf2_per_objfile *per_objfile) if (per_bfd->using_index) { - per_bfd->cooked_index_table = index_storage.release (); - per_bfd->cooked_index_table->finalize (); + indexes.push_back (index_storage.release ()); + /* Remove any NULL entries. This might happen if parallel-for + decides to throttle the number of threads that were used. */ + indexes.erase + (std::remove_if (indexes.begin (), + indexes.end (), + [] (const std::unique_ptr &entry) + { + return entry == nullptr; + }), + indexes.end ()); + indexes.shrink_to_fit (); + per_bfd->cooked_index_table.reset + (new cooked_index_vector (std::move (indexes))); const cooked_index_entry *main_entry = per_bfd->cooked_index_table->get_main (); @@ -19463,9 +19546,9 @@ cooked_indexer::ensure_cu_exists (cutu_reader *reader, Doing this check here avoids self-imports as well. */ if (for_scanning) { - if (per_cu->scanned) + bool nope = false; + if (!per_cu->scanned.compare_exchange_strong (nope, true)) return nullptr; - per_cu->scanned = true; } if (per_cu == m_per_cu) return reader; diff --git a/gdb/dwarf2/read.h b/gdb/dwarf2/read.h index 4ee7de98c50..4d39c465420 100644 --- a/gdb/dwarf2/read.h +++ b/gdb/dwarf2/read.h @@ -169,7 +169,7 @@ struct dwarf2_per_cu_data /* True if this CU has been scanned by the indexer; false if not. */ - bool scanned : 1; + std::atomic scanned; /* Our index in the unshared "symtabs" vector. */ unsigned index = 0; @@ -457,7 +457,7 @@ struct dwarf2_per_bfd std::unique_ptr debug_names_table; /* The cooked index, or NULL if not using one. */ - std::unique_ptr cooked_index_table; + std::unique_ptr cooked_index_table; /* When using index_table, this keeps track of all quick_file_names entries. TUs typically share line table entries with a CU, so we maintain a -- 2.34.1