• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
3# RUN: ld.lld %t.o -o %t1 --gc-sections
4# RUN: llvm-objdump -s %t1 | FileCheck %s
5
6# CHECK:      Contents of section .noalloc:
7# 0000 00000000 00000000                    ........
8
9	.section	.text._start,"ax",@progbits
10	.globl	_start
11_start:
12	retq
13
14	.type	unused,@object
15	.comm	unused,4,4
16
17	.section	.noalloc,"",@progbits
18	.quad	unused
19