llvm.org GIT mirror llvm / release_38 test / CodeGen / X86 / non-unique-sections.ll
release_38

Tree @release_38 (Download .tar.gz)

non-unique-sections.ll @release_38raw · history · blame

; 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
}