llvm-6502/test/CodeGen/X86/non-unique-sections.ll
Rafael Espindola 51beb495fc Add testcases I missed in r229541.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229542 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-17 20:50:39 +00:00

16 lines
373 B
LLVM

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