You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
14
external/llvm/test/Transforms/GlobalDCE/global_ctors.ll
vendored
Normal file
14
external/llvm/test/Transforms/GlobalDCE/global_ctors.ll
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
; RUN: opt -S -globaldce < %s | FileCheck %s
|
||||
|
||||
; CHECK: @llvm.global_ctors = appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 65535, void ()* @_notremovable }]
|
||||
; CHECK-NOT: @_GLOBAL__I_a
|
||||
|
||||
declare void @_notremovable()
|
||||
|
||||
@llvm.global_ctors = appending global [2 x { i32, void ()* }] [{ i32, void ()* } { i32 65535, void ()* @_GLOBAL__I_a }, { i32, void ()* } { i32 65535, void ()* @_notremovable }]
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
define internal void @_GLOBAL__I_a() #1 section "__TEXT,__StaticInit,regular,pure_instructions" {
|
||||
entry:
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user