llvm-for-llvmta/test/CodeGen/X86/non-unique-sections.ll

16 lines
373 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; 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
}