[PATCH] D101393: [lld-macho][NFC] define more strings in section_names:: and segment_names::
Greg McGary via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 27 12:42:10 PDT 2021
gkm created this revision.
gkm added a reviewer: lld-macho.
Herald added a reviewer: int3.
Herald added a project: lld-macho.
gkm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
As preparation for a subsequent diff that implements builtin section renaming, define more `constexpr` strings in namespaces `lld::macho::segment_names` and `lld::macho::section_names`, and use them to replace string literals.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101393
Files:
lld/MachO/Dwarf.cpp
lld/MachO/InputSection.cpp
lld/MachO/InputSection.h
lld/MachO/MergedOutputSection.cpp
lld/MachO/ObjC.cpp
lld/MachO/OutputSegment.h
lld/MachO/SyntheticSections.cpp
lld/MachO/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101393.340949.patch
Type: text/x-patch
Size: 9639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210427/6d4bef05/attachment.bin>
More information about the llvm-commits
mailing list