mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-10-24 12:04:54 +00:00
This breaks AddressSanitizer (ninja check-asan) on Windows git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226251 91177308-0d34-0410-b5e6-96231b3b80d8
26 lines
500 B
LLVM
26 lines
500 B
LLVM
; 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: .section .text.test3,"axG",%progbits,test3,comdat
|
|
; CHECK: .weak test3
|
|
; CHECK: .type test3,%function
|
|
define linkonce_odr void @test3() {
|
|
entry:
|
|
ret void
|
|
}
|