YouCompleteMe/cpp/llvm/test/MC/ELF/undef2.s
2012-07-05 17:51:06 -07:00

11 lines
327 B
ArmAsm

// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
// Test that this produces an undefined reference to .Lfoo
je .Lfoo
// CHECK: ('_symbols', [
// CHECK: (('st_name', 0x00000001) # '.Lfoo'
// CHECK-NEXT: ('st_bind', 0x1)
// CHECK: (('sh_name', 0x0000001b) # '.strtab'