Skip to content

Commit 7cd07d3

Browse files
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
1 parent d3e6c2d commit 7cd07d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/CodeGen/X86/stack-protector-3.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
; RUN: llc -mtriple=x86_64-pc-linux-gnu -o - < %t/f2.ll | FileCheck --check-prefix=CHECK-OFFSET %s
1515
; RUN: llc -mtriple=x86_64-pc-linux-gnu -o - < %t/g2.ll | FileCheck --check-prefix=CHECK-NEGATIVE-OFFSET %s
1616

17+
;--- main.ll
18+
1719
; CHECK-TLS-FS-40: movq %fs:40, %rax
1820
; CHECK-TLS-FS-40: movq %fs:40, %rax
1921
; CHECK-TLS-FS-40-NEXT: cmpq 16(%rsp), %rax
@@ -55,8 +57,6 @@
5557
; CHECK-GLOBAL-NEXT: .cfi_def_cfa_offset 32
5658
; CHECK-GLOBAL-NEXT: callq __stack_chk_fail
5759

58-
;--- main.ll
59-
6060
; ModuleID = 't.c'
6161
@.str = private unnamed_addr constant [14 x i8] c"stackoverflow\00", align 1
6262
@a = dso_local local_unnamed_addr global i8* null, align 8

0 commit comments

Comments
 (0)