[all-commits] [llvm/llvm-project] 628f11: [DWARFLinkerParallel] Add StringTable class.

avl-llvm via All-commits all-commits at lists.llvm.org
Wed Apr 5 02:49:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 628f11f78d33a182dbd9d8746a6e93dce08a8c44
      https://github.com/llvm/llvm-project/commit/628f11f78d33a182dbd9d8746a6e93dce08a8c44
  Author: Alexey Lapshin <a.v.lapshin at mail.ru>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    M llvm/include/llvm/DWARFLinkerParallel/StringPool.h
    A llvm/include/llvm/DWARFLinkerParallel/StringTable.h
    M llvm/unittests/DWARFLinkerParallel/CMakeLists.txt
    A llvm/unittests/DWARFLinkerParallel/StringTableTest.cpp

  Log Message:
  -----------
  [DWARFLinkerParallel] Add StringTable class.

This patch adds StringTable class which is used to prepare
strings for emission into the .debug_str table. Specifically,
this class translates strings if necessary, keeps them in order,
assigns index and offset.

Differential Revision: https://reviews.llvm.org/D147529




More information about the All-commits mailing list