[PATCH] D147529: [DWARFLinkerParallel] Add StringsForEmission class.

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 06:33:37 PDT 2023


avl created this revision.
avl added reviewers: JDevlieghere, aprantl, clayborg, dblaikie.
Herald added a project: All.
avl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch adds StringsForEmission 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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147529

Files:
  llvm/include/llvm/DWARFLinkerParallel/StringPool.h
  llvm/include/llvm/DWARFLinkerParallel/StringsForEmission.h
  llvm/unittests/DWARFLinkerParallel/CMakeLists.txt
  llvm/unittests/DWARFLinkerParallel/StringsForEmissionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147529.510782.patch
Type: text/x-patch
Size: 8021 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230404/5faea9e4/attachment.bin>


More information about the llvm-commits mailing list