aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BuildLibCalls.cpp
diff options
context:
space:
mode:
authorAlexey Lapshin <a.v.lapshin@mail.ru>2022-06-28 19:52:12 +0300
committerAlexey Lapshin <a.v.lapshin@mail.ru>2022-07-01 20:08:09 +0300
commit554aea52d79ebd9353911ecf2ffe14aca132f452 (patch)
tree15783be4d9bad1494cc607faa6546d1a98f28629 /llvm/lib/Transforms/Utils/BuildLibCalls.cpp
parentb5e49cdea971742d2fbc8ae35878fcc21daebba1 (diff)
downloadllvm-554aea52d79ebd9353911ecf2ffe14aca132f452.zip
llvm-554aea52d79ebd9353911ecf2ffe14aca132f452.tar.gz
llvm-554aea52d79ebd9353911ecf2ffe14aca132f452.tar.bz2
[reland][Debuginfo][DWARF][NFC] Refactor DwarfStringPoolEntryRef.
This review is extracted from D96035. This patch adds possibility to keep not only DwarfStringPoolEntry, but also pointer to it. The DwarfStringPoolEntryRef keeps reference to the string map entry. String map keeps string data and corresponding DwarfStringPoolEntry info. Not all string map entries may be included into the result, and then not all string entries should have DwarfStringPoolEntry info. Currently StringMap keeps DwarfStringPoolEntry for all entries. It leads to extra memory usage. This patch allows to keep DwarfStringPoolEntry info only for entries which really need it. [reland] : make msan happy. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D126883
Diffstat (limited to 'llvm/lib/Transforms/Utils/BuildLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions