aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2025-06-12 13:20:36 +0100
committerGitHub <noreply@github.com>2025-06-12 13:20:36 +0100
commit633375a29f52504b0b23a30bb767de521dd3e2a8 (patch)
tree9a6cf2007fa26d3a7cccd1eae32e9fd1a17e3b82 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent3550662c040024597485d1bfac0d733340514ae1 (diff)
downloadllvm-633375a29f52504b0b23a30bb767de521dd3e2a8.zip
llvm-633375a29f52504b0b23a30bb767de521dd3e2a8.tar.gz
llvm-633375a29f52504b0b23a30bb767de521dd3e2a8.tar.bz2
[llvm][DWARFLinker] Fix gcc 13 -Wuninitialized warnings (#143867)
A bit awkward that we have to switch from public to protected and back again, but it seemed neater than putting OS all the way down at the bottom. Since it is a public member that you're more likely to be looking for. llvm-project/llvm/lib/DWARFLinker/Parallel/OutputSections.h:157:67: warning: member ‘llvm::dwarf_linker::parallel::SectionDescriptor::Contents’ is used uninitialized [-Wuninitialized] Which refers to the use in the constructor: ``` SectionDescriptor(DebugSectionKind SectionKind, LinkingGlobalData &GlobalData, dwarf::FormParams Format, llvm::endianness Endianess) : SectionDescriptorBase(SectionKind, Format, Endianess), OS(Contents), ``` Where Contents is passed to `OS`, before Contents has been constructed.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions