summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/NonRelocatableStringpool.cpp
AgeCommit message (Collapse)Author
2025-05-22[llvm] Use *Map::try_emplace (NFC) (#141190)Kazu Hirata
try_emplace can default-construct values, so we do not need to do so on our own. Plus, try_emplace(Key) is much simpler/shorter than insert({Key, LongValueType()}).
2024-03-19[dsymutil] Remove support for obfuscated bitcode (#85713)Jonas Devlieghere
Remove support for obfuscated bitcode in dsymutil and the DWARF linker. We no longer support bitcode submissions and the obfuscation support has been removed from the rest of the compiler. rdar://123863918
2024-03-19Revert "[dsymutil] Remove support for obfuscated bitcode" (#85826)Andres Villegas
Reverts llvm/llvm-project#85713 Since it is breaking Linux x64 builds.
2024-03-19[dsymutil] Remove support for obfuscated bitcode (#85713)Jonas Devlieghere
Remove support for obfuscated bitcode in dsymutil and the DWARF linker. We no longer support bitcode submissions and the obfuscation support has been removed from the rest of the compiler. rdar://123863918
2024-01-04[dsymutil] Add support for inline DWARF source files. (#77016)Adrian Prantl
There was a strange and seemingly unncessary empty string optimization in NonRelocatableStringPool that I had to remove in order to support empty strings in the line_str string table, without unconditionally forcing an empty string to be added to every debug_line_str table.
2022-06-05[Debuginfo][DWARF][NFC] Refactor DwarfStringPoolEntryRef - remove isIndexed().Alexey Lapshin
This patch is extraction from the https://reviews.llvm.org/D126883. It removes DwarfStringPoolEntryRef::isIndexed() and isIndexed bit since they are not used. Differential Revision: https://reviews.llvm.org/D126958
2022-01-24Move STLFunctionalExtras out of STLExtrasserge-sans-paille
Only using that change in StringRef already decreases the number of preoprocessed lines from 7837621 to 7776151 for LLVMSupport Perhaps more interestingly, it shows that many files were relying on the inclusion of StringRef.h to have the declaration from STLExtras.h. This patch tries hard to patch relevant part of llvm-project impacted by this hidden dependency removal. Potential impact: - "llvm/ADT/StringRef.h" no longer includes <memory>, "llvm/ADT/Optional.h" nor "llvm/ADT/STLExtras.h" Related Discourse thread: https://llvm.discourse.group/t/include-what-you-use-include-cleanup/5831
2020-01-08[Dsymutil][Debuginfo][NFC] Reland: Refactor dsymutil to separate DWARF ↵Alexey Lapshin
optimizing part. #2. Summary: This patch relands D71271. The problem with D71271 is that it has cyclic dependency: CodeGen->AsmPrinter->DebugInfoDWARF->CodeGen. To avoid cyclic dependency this patch puts implementation for DWARFOptimizer into separate library: lib/DWARFLinker. Thus the difference between this patch and D71271 is in that DWARFOptimizer renamed into DWARFLinker and it`s files are put into lib/DWARFLinker. Reviewers: JDevlieghere, friss, dblaikie, aprantl Reviewed By: JDevlieghere Subscribers: thegameg, merge_guards_bot, probinson, mgorny, hiraditya, llvm-commits Tags: #llvm, #debug-info Differential Revision: https://reviews.llvm.org/D71839
2019-12-06[Dsymutil][NFC] Move NonRelocatableStringpool into common CodeGen folder.Alexey Lapshin
That refactoring moves NonRelocatableStringpool into common CodeGen folder. So that NonRelocatableStringpool could be used not only inside dsymutil. Differential Revision: https://reviews.llvm.org/D71068