aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/non-unique-sections.ll
blob: e588b9dda98d4f221e3c034e5a2853c3163993e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llc < %s -mtriple=x86_64-pc-linux -function-sections -unique-section-names=false | FileCheck %s

; CHECK:   .section                      .text,"ax",@progbits,unique
; CHECK-NOT: section
; CHECK: f:
define void @f() {
  ret void
}

; CHECK:   .section                      .text,"ax",@progbits,unique
; CHECK-NOT: section
; CHECK: g:
define void @g() {
  ret void
}