# Check that _MISSING_SYMBOL_ symbol is not resolved # RUN: yaml2obj -format=elf %s > %t-o.o # RUN: lld -flavor old-gnu -target arm -m armelf_linux_eabi -Bstatic \ # RUN: --noinhibit-exec %t-o.o -o %t 2>&1 | FileCheck %s # CHECK: Undefined symbol: {{.*}}: _MISSING_SYMBOL_ --- FileHeader: Class: ELFCLASS32 Data: ELFDATA2LSB Type: ET_REL Machine: EM_ARM Flags: [ EF_ARM_EABI_VER5 ] Sections: - Name: .text Type: SHT_PROGBITS Flags: [ SHF_ALLOC, SHF_EXECINSTR ] AddressAlign: 0x0000000000000004 Content: 80B483B000AF40F20003C0F200037B60002318460C37BD465DF8047B704700BF - Name: .data Type: SHT_PROGBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 Content: '' - Name: .bss Type: SHT_NOBITS Flags: [ SHF_WRITE, SHF_ALLOC ] AddressAlign: 0x0000000000000001 Symbols: Global: - Name: main Type: STT_FUNC Section: .text Value: 0x0000000000000001 - Name: _MISSING_SYMBOL_ ...