llvm.org GIT mirror llvm / 2edda52 test / CodeGen / ARM / section-name.ll
2edda52

Tree @2edda52 (Download .tar.gz)

section-name.ll @2edda52raw · history · blame

; RUN: llc < %s -mtriple=arm-unknown-linux-gnueabi | FileCheck %s

; CHECK: .text
; CHECK: .globl test1
; CHECK: .type test1,%function
define void @test1() {
entry:
  ret void
}

; CHECK: .section .test2,"ax",%progbits
; CHECK: .globl test2
; CHECK: .type test2,%function
define void @test2() section ".test2" {
entry:
  ret void
}

; CHECK: .text
; CHECK: .weak test3
; CHECK: .type test3,%function
define linkonce_odr void @test3() {
entry:
  ret void
}