reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
# REQUIRES: arm
# RUN: echo ".fnstart; .cantunwind; .fnend" \
# RUN:   | llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi - -o %t.o
# RUN: ld.lld -T %s %t.o -shared -o %t.so
# RUN: llvm-readobj -S %t.so | FileCheck %s

SECTIONS {
  . = SIZEOF_HEADERS;
  .ARM.exidx : { *(.ARM.exidx*) }
  .foo : { _foo = 0; }
}

# CHECK:      Section {
# CHECK:        Index:
# CHECK:        Name: .foo
# CHECK-NEXT:   Type: SHT_PROGBITS
# CHECK-NEXT:   Flags [
# CHECK-NEXT:     SHF_ALLOC
# CHECK-NEXT:   ]