dwarf2/attribute.c \
dwarf2/comp-unit-head.c \
dwarf2/cooked-index.c \
- dwarf2/cooked-index-storage.c \
+ dwarf2/cooked-index-worker.c \
dwarf2/cooked-indexer.c \
dwarf2/cu.c \
dwarf2/die.c \
dummy-frame.h \
dwarf2/aranges.h \
dwarf2/cooked-index.h \
- dwarf2/cooked-index-storage.h \
+ dwarf2/cooked-index-worker.h \
dwarf2/cooked-indexer.h \
dwarf2/cu.h \
dwarf2/frame-tailcall.h \
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "dwarf2/cooked-index-storage.h"
+#include "dwarf2/cooked-index-worker.h"
-/* See cooked-index-storage.h. */
+/* See cooked-index-worker.h. */
cooked_index_storage::cooked_index_storage ()
: m_shard (new cooked_index_shard)
{
}
-/* See cooked-index-storage.h. */
+/* See cooked-index-worker.h. */
cutu_reader *
cooked_index_storage::get_reader (dwarf2_per_cu *per_cu)
return it != m_reader_hash.end () ? it->get () : nullptr;
}
-/* See cooked-index-storage.h. */
+/* See cooked-index-worker.h. */
cutu_reader *
cooked_index_storage::preserve (cutu_reader_up reader)
return it->get();
}
-/* See cooked-index-storage.h. */
+/* See cooked-index-worker.h. */
std::uint64_t
cooked_index_storage::cutu_reader_hash::operator()
return (*this) (*reader->cu ()->per_cu);
}
-/* See cooked-index-storage.h. */
+/* See cooked-index-worker.h. */
std::uint64_t
cooked_index_storage::cutu_reader_hash::operator() (const dwarf2_per_cu &per_cu)
return per_cu.index;
}
-/* See cooked-index-storage.h. */
+/* See cooked-index-worker.h. */
bool
cooked_index_storage::cutu_reader_eq::operator() (const cutu_reader_up &a,
return (*this) (*a->cu ()->per_cu, b);
}
-/* See cooked-index-storage.h. */
+/* See cooked-index-worker.h. */
bool cooked_index_storage::cutu_reader_eq::operator()
(const dwarf2_per_cu &per_cu, const cutu_reader_up &reader) const noexcept
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#ifndef GDB_DWARF2_COOKED_INDEX_STORAGE_H
-#define GDB_DWARF2_COOKED_INDEX_STORAGE_H
+#ifndef GDB_DWARF2_COOKED_INDEX_WORKER_H
+#define GDB_DWARF2_COOKED_INDEX_WORKER_H
#include "dwarf2/abbrev-table-cache.h"
#include "dwarf2/cooked-index.h"
addrmap_mutable m_addrmap;
};
-#endif /* GDB_DWARF2_COOKED_INDEX_STORAGE_H */
+#endif /* GDB_DWARF2_COOKED_INDEX_WORKER_H */
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "dwarf2/cooked-indexer.h"
-#include "dwarf2/cooked-index-storage.h"
+#include "dwarf2/cooked-index-worker.h"
#include "dwarf2/error.h"
/* See cooked-indexer.h. */
#include "dwarf2/aranges.h"
#include "dwarf2/attribute.h"
#include "dwarf2/comp-unit-head.h"
-#include "dwarf2/cooked-index-storage.h"
+#include "dwarf2/cooked-index-worker.h"
#include "dwarf2/cooked-indexer.h"
#include "dwarf2/cu.h"
#include "dwarf2/index-cache.h"