[Lldb-commits] [lldb] [lldb] change .sbss section type to eSectionTypeZeroFill (PR #99044)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 16 07:50:37 PDT 2024


https://github.com/labath commented:

I'm wondering if there's a more fundamental fix to be made here. Like perhaps treating treating any allocatable SHT_NOBITS section as ZeroFill.

Basically to add `case SHT_NOBITS: if (H.sh_flags & SHF_ALLOC) return eSectionTypeZeroFill;` to `GetSectionType` (line 1716)

https://github.com/llvm/llvm-project/pull/99044


More information about the lldb-commits mailing list