Xamarin Public Jenkins (auto-signing) 8e12397d70 Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
2018-11-16 08:20:38 +00:00

21 lines
366 B
LLVM

; RUN: llc -mtriple=x86_64-unknown-linux-gnu %s -o - | FileCheck %s
@zed = external hidden constant i32
define available_externally hidden void @baz() {
ret void
}
define hidden void @foo() nounwind {
entry:
call void @bar(i32* @zed)
call void @baz()
ret void
}
declare hidden void @bar(i32*)
;CHECK: .hidden zed
;CHECK: .hidden baz
;CHECK: .hidden bar