• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; __stack_chk_guard and __stack_chk_fail should not be internalized.
2; RUN: opt < %s -internalize -S | FileCheck %s
3; RUN: opt < %s -passes=internalize -S | FileCheck %s
4
5; CHECK: @__stack_chk_guard = hidden global [8 x i64] zeroinitializer, align 16
6@__stack_chk_guard = hidden global [8 x i64] zeroinitializer, align 16
7
8; CHECK: @__stack_chk_fail = hidden global [8 x i64] zeroinitializer, align 16
9@__stack_chk_fail = hidden global [8 x i64] zeroinitializer, align 16
10