Changeset View
Changeset View
Standalone View
Standalone View
lldb/test/Shell/SymbolFile/absolute-symbol.test
# RUN: yaml2obj %s -o %t.o | # RUN: yaml2obj %s -o %t.o | ||||
# RUN: %lldb -b -o 'target modules lookup -s absolute_symbol' %t.o | FileCheck %s | # RUN: %lldb -b -o 'target modules lookup -s absolute_symbol' %t.o | FileCheck %s | ||||
# CHECK: 1 symbols match 'absolute_symbol' | # CHECK: 1 symbols match 'absolute_symbol' | ||||
# CHECK: Address: 0x0000000012345678 (0x0000000012345678) | # CHECK: Value: 0x0000000012345678 | ||||
# CHECK: Summary: 0x0000000012345678 | |||||
# Created from: | # Created from: | ||||
# .globl absolute_symbol | # .globl absolute_symbol | ||||
# absolute_symbol = 0x12345678 | # absolute_symbol = 0x12345678 | ||||
--- !mach-o | --- !mach-o | ||||
FileHeader: | FileHeader: | ||||
magic: 0xFEEDFACF | magic: 0xFEEDFACF | ||||
cputype: 0x100000C | cputype: 0x100000C | ||||
cpusubtype: 0x0 | cpusubtype: 0x0 | ||||
▲ Show 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | - n_strx: 1 | ||||
n_desc: 0 | n_desc: 0 | ||||
n_value: 305419896 | n_value: 305419896 | ||||
StringTable: | StringTable: | ||||
- '' | - '' | ||||
- absolute_symbol | - absolute_symbol | ||||
- ltmp0 | - ltmp0 | ||||
- '' | - '' | ||||
... | ... | ||||