summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/coff-no-dead-strip.ll
blob: def81644bd5db7b6185c70cf75e8f19a0684596a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llc -mtriple thumbv7-windows-msvc -filetype asm -o - %s | FileCheck %s

@i = global i32 0
@j = weak global i32 0
@k = internal global i32 0

@llvm.used = appending global [3 x i8*] [i8* bitcast (i32* @i to i8*), i8* bitcast (i32* @j to i8*), i8* bitcast (i32* @k to i8*)]

; CHECK: .section .drectve
; CHECK: .ascii " /INCLUDE:i"
; CHECK: .ascii " /INCLUDE:j"
; CHECK-NOT: .ascii " /INCLUDE:k"

OpenPOWER on IntegriCloud