From 66b8eaaca4e94447e3be9639cf2c0baf3f0163b2 Mon Sep 17 00:00:00 2001 From: James Molloy Date: Wed, 18 Nov 2015 12:08:24 +0000 Subject: [PATCH] [LTO] Appease buildbots take 3 This time I've found a linux box and checked it there. This test now passes. Because I'd introduced an undefined reference in @bar, gold now returns an error. This doesn't matter for the test itself, because it also emits the remarks the test is checking for. But it does cause LIT to notice a nonzero return code which it faults on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253454 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/gold/X86/remarks.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tools/gold/X86/remarks.ll b/test/tools/gold/X86/remarks.ll index d50afbfe6bb..51bd121cebc 100644 --- a/test/tools/gold/X86/remarks.ll +++ b/test/tools/gold/X86/remarks.ll @@ -1,9 +1,9 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: not %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ ; RUN: -plugin-opt=-pass-remarks=inline %t.o -o %t2.o 2>&1 | FileCheck %s -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: not %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ ; RUN: %t.o -o %t2.o 2>&1 | FileCheck -allow-empty --check-prefix=NO-REMARK %s -- 2.34.1