1 ## Verify that llvm-readobj can dump the various symbol flags correctly.
2 # RUN: yaml2obj %s -o %t
3 # RUN: llvm-readobj --syms %t | FileCheck %s
7 # CHECK-NEXT: Name: _foo (1)
9 # CHECK-NEXT: Type: Section (0xE)
10 # CHECK-NEXT: Section: __text (0x1)
11 # CHECK-NEXT: RefType: UndefinedNonLazy (0x0)
12 # CHECK-NEXT: Flags [ (0x128)
13 # CHECK-NEXT: NoDeadStrip (0x20)
14 # CHECK-NEXT: SymbolResolver (0x100)
15 # CHECK-NEXT: ThumbDef (0x8)
17 # CHECK-NEXT: Value: 0x0