From 7cd07d339022ef92148e27e8fe12f65865f707d9 Mon Sep 17 00:00:00 2001 From: Nick Desaulniers Date: Mon, 24 May 2021 12:06:49 -0700 Subject: [PATCH] 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: /test/CodeGen/X86/Output/stack-protector-3.ll.tmp/main.ll --- llvm/test/CodeGen/X86/stack-protector-3.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/CodeGen/X86/stack-protector-3.ll b/llvm/test/CodeGen/X86/stack-protector-3.ll index 69ff812..2545e84 100644 --- a/llvm/test/CodeGen/X86/stack-protector-3.ll +++ b/llvm/test/CodeGen/X86/stack-protector-3.ll @@ -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 -- 2.7.4