forked from OSchip/llvm-project
fix up test from D102742
In D102742, I mistakenly put the split file designator above a bunch of CHECK lines, which unintentionally removed the CHECKs from actually being verified. This can be verified by observing: <build dir>/test/CodeGen/X86/Output/stack-protector-3.ll.tmp/main.ll
This commit is contained in:
parent
d3e6c2ddc3
commit
7cd07d3390
|
@ -14,6 +14,8 @@
|
|||
; RUN: llc -mtriple=x86_64-pc-linux-gnu -o - < %t/f2.ll | FileCheck --check-prefix=CHECK-OFFSET %s
|
||||
; RUN: llc -mtriple=x86_64-pc-linux-gnu -o - < %t/g2.ll | FileCheck --check-prefix=CHECK-NEGATIVE-OFFSET %s
|
||||
|
||||
;--- main.ll
|
||||
|
||||
; CHECK-TLS-FS-40: movq %fs:40, %rax
|
||||
; CHECK-TLS-FS-40: movq %fs:40, %rax
|
||||
; CHECK-TLS-FS-40-NEXT: cmpq 16(%rsp), %rax
|
||||
|
@ -55,8 +57,6 @@
|
|||
; CHECK-GLOBAL-NEXT: .cfi_def_cfa_offset 32
|
||||
; CHECK-GLOBAL-NEXT: callq __stack_chk_fail
|
||||
|
||||
;--- main.ll
|
||||
|
||||
; ModuleID = 't.c'
|
||||
@.str = private unnamed_addr constant [14 x i8] c"stackoverflow\00", align 1
|
||||
@a = dso_local local_unnamed_addr global i8* null, align 8
|
||||
|
|
Loading…
Reference in New Issue