mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-03 17:24:24 +00:00
ca2ccc379b
r154645 introduced this feature without test. This should have better coverage now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271853 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
472 B
LLVM
10 lines
472 B
LLVM
; __stack_chk_guard and __stack_chk_fail should not be internalized.
|
|
; RUN: opt < %s -internalize -S | FileCheck %s
|
|
; RUN: opt < %s -passes=internalize -S | FileCheck %s
|
|
|
|
; CHECK: @__stack_chk_guard = hidden global [8 x i64] zeroinitializer, align 16
|
|
@__stack_chk_guard = hidden global [8 x i64] zeroinitializer, align 16
|
|
|
|
; CHECK: @__stack_chk_fail = hidden global [8 x i64] zeroinitializer, align 16
|
|
@__stack_chk_fail = hidden global [8 x i64] zeroinitializer, align 16
|