[llvm] 7cd07d3 - fix up test from D102742
Nick Desaulniers via llvm-commits
llvm-commits at lists.llvm.org
Mon May 24 12:09:15 PDT 2021
Author: Nick Desaulniers
Date: 2021-05-24T12:09:02-07:00
New Revision: 7cd07d339022ef92148e27e8fe12f65865f707d9
URL: https://github.com/llvm/llvm-project/commit/7cd07d339022ef92148e27e8fe12f65865f707d9
DIFF: https://github.com/llvm/llvm-project/commit/7cd07d339022ef92148e27e8fe12f65865f707d9.diff
LOG: 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
Added:
Modified:
llvm/test/CodeGen/X86/stack-protector-3.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/X86/stack-protector-3.ll b/llvm/test/CodeGen/X86/stack-protector-3.ll
index 69ff81268315..2545e845b1bd 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
More information about the llvm-commits
mailing list