aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/section-stats.ll
blob: 2cab7d18dec069e6a7d5ece1fe411292cb796483 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; REQUIRES: asserts
; RUN: llc -o /dev/null -filetype=obj -stats %s 2>&1 | FileCheck %s

; CHECK-DAG: 1 elf-object-writer - Total size of SHF_ALLOC text sections
; CHECK-DAG: 1 elf-object-writer - Total size of SHF_ALLOC read-write sections
; CHECK-DAG: 512 elf-object-writer - Total size of section headers table
; CHECK-DAG: 64 elf-object-writer - Total size of ELF headers

target triple = "x86_64-unknown-linux-gnu"

@g = global i8 1

define void @f() {
    ret void
}