repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git]
/
llvm
/
test
/
Object
/
dllimport.ll
blob
afdb4562cc9fb8e9d4a17e8bcd17050553f8d6fe
1
; RUN: llvm-as %s -o - | llvm-nm - | FileCheck %s
2
3
target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
4
target triple = "x86_64-pc-windows-msvc"
5
6
; CHECK: U __imp_f
7
; CHECK: U __imp_v
8
; CHECK: T g
9
10
declare dllimport void @f()
11
@v = external dllimport global i32
12
13
define void @g() {
14
call void @f()
15
store i32 42, i32* @v
16
ret void
17
}