[PATCH] D154341: use StringMap in llvm-dwp when merging debug_str.dwo section

zhuna via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 06:16:51 PDT 2023


zhuna8616 created this revision.
Herald added a project: All.
zhuna8616 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D154341

Files:
  llvm/include/llvm/DWP/DWPStringPool.h


Index: llvm/include/llvm/DWP/DWPStringPool.h
===================================================================
--- llvm/include/llvm/DWP/DWPStringPool.h
+++ llvm/include/llvm/DWP/DWPStringPool.h
@@ -32,7 +32,7 @@
 
   MCStreamer &Out;
   MCSection *Sec;
-  DenseMap<const char *, uint32_t, CStrDenseMapInfo> Pool;
+  StringMap<uint32_t> Pool;
   uint32_t Offset = 0;
 
 public:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154341.536741.patch
Type: text/x-patch
Size: 380 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230703/54d0dc7f/attachment.bin>


More information about the llvm-commits mailing list