• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %s -o %t
2# RUN: llvm-readobj --symbols %t | FileCheck %s
3
4## Check yaml2obj is able to create the STB_GNU_UNIQUE symbol.
5
6# CHECK:        Name: foo
7# CHECK-NEXT:   Value:
8# CHECK-NEXT:   Size:
9# CHECK-NEXT:   Binding: Unique
10
11--- !ELF
12FileHeader:
13  Class: ELFCLASS64
14  Data:  ELFDATA2LSB
15  OSABI: ELFOSABI_GNU
16  Type:  ET_REL
17Symbols:
18  - Name:    foo
19    Type:    STT_OBJECT
20    Binding: STB_GNU_UNIQUE
21