Files
clang-p2996/llvm/test/Transforms/GlobalOpt/undef-ctor-dtor.ll
2022-12-13 15:33:59 +01:00

10 lines
397 B
LLVM

; RUN: opt -S -passes=globalopt < %s | FileCheck %s
; Gracefully handle undef global_ctors/global_dtors
; CHECK: @llvm.global_ctors = appending global [0 x { i32, ptr, ptr }] undef
; CHECK: @llvm.global_dtors = appending global [0 x { i32, ptr, ptr }] undef
@llvm.global_ctors = appending global [0 x { i32, ptr, ptr }] undef
@llvm.global_dtors = appending global [0 x { i32, ptr, ptr }] undef