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
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux /dev/null -o %t1.o
# RUN: ld.lld -shared %t1.o --script %s -o %t
# RUN: llvm-objdump -section-headers -t %t | FileCheck %s

SECTIONS {
  A = . + 0x1;
  . += 0x1000;
}

# CHECK:       Sections:
# CHECK-NEXT:  Idx Name          Size     VMA
# CHECK-NEXT:    0               00000000 0000000000000000
# CHECK-NEXT:    1 .dynsym       00000030 0000000000001000
# CHECK:         5 .text         00000000 000000000000106c

# CHECK: 0000000000000001         .dynsym            00000000 A