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

via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 17 18:32:07 PDT 2024


dlav-sc wrote:

> 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)

Yes, thanks, works fine. 

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


More information about the lldb-commits mailing list