14 lines · plain
1RUN: %lldb -b %p/Inputs/section-overflow-binary \2RUN: -o 'script dwarf = lldb.target.module[0].sections[0]' \3RUN: -o 'script section = dwarf.GetSubSectionAtIndex(0)' \4RUN: -o "script print(f'{section.GetName()} file_offset=0x{section.GetFileOffset():016x}')" \5RUN: -o 'script section = dwarf.GetSubSectionAtIndex(1)' \6RUN: -o "script print(f'{section.GetName()} file_offset=0x{section.GetFileOffset():016x}')" \7RUN: -o 'script section = dwarf.GetSubSectionAtIndex(2)' \8RUN: -o "script print(f'{section.GetName()} file_offset=0x{section.GetFileOffset():016x}')" \9RUN: | FileCheck %s10 11CHECK: __debug_abbrev file_offset=0x00000000fffffff012CHECK: __debug_info file_offset=0x000000010000001013CHECK: __debug_line file_offset=0x000000030000001014