1 # Ensures that implicitly added sections can be ordered within Sections.
2 # RUN: yaml2obj %s -o %t
3 # RUN: llvm-readobj --sections %t | FileCheck %s --check-prefix=SECTION
4 # RUN: llvm-nm --dynamic %t | FileCheck %s --check-prefix=SYMBOL
15 Flags: [ SHF_ALLOC, SHF_WRITE ]
30 # SECTION: Name: .dynsym
31 # SECTION-NEXT: Type: SHT_DYNSYM
33 # SECTION-NEXT: SHF_ALLOC
34 # SECTION: Name: .dynstr
35 # SECTION-NEXT: Type: SHT_STRTAB
37 # SECTION-NEXT: SHF_ALLOC
39 # SYMBOL-DAG: D dynglobal
40 # SYMBOL-DAG: V dynweak
41 # SYMBOL-DAG: d dynlocal