File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
lldb/test/Shell/ObjectFile/MachO Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1+ RUN: %lldb -b %p/Inputs/section-overflow-binary \
2+ RUN: -o 'script dwarf = lldb.target.module[0].sections[0]' \
3+ RUN: -o 'script section = dwarf.GetSubSectionAtIndex(0)' \
4+ RUN: -o "script print(f'{section.GetName()} file_offset=0x{section.GetFileOffset():016x}')" \
5+ RUN: -o 'script section = dwarf.GetSubSectionAtIndex(1)' \
6+ RUN: -o "script print(f'{section.GetName()} file_offset=0x{section.GetFileOffset():016x}')" \
7+ RUN: -o 'script section = dwarf.GetSubSectionAtIndex(2)' \
8+ RUN: -o "script print(f'{section.GetName()} file_offset=0x{section.GetFileOffset():016x}')" \
9+ RUN: | FileCheck %s
10+
11+ CHECK: __debug_abbrev file_offset=0x00000000fffffff0
12+ CHECK: __debug_info file_offset=0x0000000100000010
13+ CHECK: __debug_line file_offset=0x0000000300000010
You can’t perform that action at this time.
0 commit comments