[Lldb-commits] [lldb] [lldb][NFC] Use make_shared when creating Sections (PR #210196)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 20 07:21:09 PDT 2026
================
@@ -2175,9 +2175,9 @@ void ObjectFileELF::CreateSections(SectionList &unified_section_list) {
InfoOr->Range.GetRangeBase(), // VM address.
InfoOr->Range.GetByteSize(), // VM size in bytes of this section.
header.sh_offset, // Offset of this section in the file.
- file_size, // Size of the section as found in the file.
- log2align, // Alignment of the section
- header.sh_flags)); // Flags for this section.
+ file_size, // Size of the section as found in the file.
+ log2align, // Alignment of the section
+ header.sh_flags); // Flags for this section.
----------------
JDevlieghere wrote:
Since you're touching these lines anyway, now would be as good a time as any to make this use `/*arg=*/`.
https://github.com/llvm/llvm-project/pull/210196
More information about the lldb-commits
mailing list