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
   20
   21
# REQUIRES: x86

## _edata points to the end of the last mapped initialized section.

# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t --gc-sections
# RUN: llvm-objdump -t -section-headers %t | FileCheck %s

# CHECK: .data         00000008 000000000020215c DATA

# CHECK: 0000000000202164         .data                 00000000 _edata

.text
.globl _start
_start:
.long .data - .

.data
.quad 0

.globl _edata