File: coff-no-dead-strip.ll

package info (click to toggle)
llvm-toolchain-9 1%3A9.0.1-16
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 882,436 kB
  • sloc: cpp: 4,167,636; ansic: 714,256; asm: 457,610; python: 155,927; objc: 65,094; sh: 42,856; lisp: 26,908; perl: 7,786; pascal: 7,722; makefile: 6,881; ml: 5,581; awk: 3,648; cs: 2,027; xml: 888; javascript: 381; ruby: 156
file content (22 lines) | stat: -rw-r--r-- 933 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; RUN: llc -mtriple i686-windows-msvc -filetype asm -o - %s | FileCheck %s -check-prefix CHECK -check-prefix CHECK-ULP
; RUN: llc -mtriple x86_64-windows-msvc -filetype asm -o - %s | FileCheck %s -check-prefix CHECK -check-prefix CHECK-NOULP

@i = global i32 0
@j = weak global i32 0
@k = internal global i32 0
declare x86_vectorcallcc void @l()
@m = private global i32 0

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

; CHECK: .section .drectve
; CHECK-ULP: .ascii " /INCLUDE:_i"
; CHECK-ULP: .ascii " /INCLUDE:_j"
; CHECK-ULP-NOT: .ascii " /INCLUDE:_k"
; CHECK-ULP-NOT: .ascii " /INCLUDE:L_m"
; CHECK-NOULP: .ascii " /INCLUDE:i"
; CHECK-NOULP: .ascii " /INCLUDE:j"
; CHECK-NOULP-NOT: .ascii " /INCLUDE:k"
; CHECK-NOULP-NOT: .ascii " /INCLUDE:.Lm"
; CHECK: .ascii " /INCLUDE:l@@0"