1 # RUN: yaml2obj %s | llvm-readobj -symbols - | FileCheck %s
11 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
13 Content: "90EBFE" # x86 machine code
14 # NOP ; To make main's `Value` non-zero (for testing).
17 # This YAML file is a valid relocatable object that,
18 # when linked and run on x86_64, will go into an
27 - Name: undefined_symbol
30 # CHECK-NEXT: Symbol {
31 # CHECK-NEXT: Name: (0)
33 # CHECK-NEXT: Name: main
34 # CHECK-NEXT: Value: 0x1
36 # CHECK: Binding: Global
37 # CHECK-NEXT: Type: Function
38 # CHECK: Section: .text
40 # CHECK: Name: undefined_symbol
41 # CHECK: Section: Undefined (0x0)