From: Teresa Johnson Date: Tue, 2 Jul 2019 22:06:02 +0000 (+0000) Subject: [ThinLTO] Dump input on failure in devirt test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08f448967a7db1b3ec7efd7f1b0693ffc23ae916;p=llvm [ThinLTO] Dump input on failure in devirt test To help track down bug exposed by llvm-clang-x86_64-expensive-checks-win bot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364973 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/ThinLTO/X86/devirt.ll b/test/ThinLTO/X86/devirt.ll index 15b714997ef..87246be57c6 100644 --- a/test/ThinLTO/X86/devirt.ll +++ b/test/ThinLTO/X86/devirt.ll @@ -52,7 +52,7 @@ ; RUN: -r=%t.o,_ZN1D1mEi, \ ; RUN: -r=%t.o,_ZTV1B,px \ ; RUN: -r=%t.o,_ZTV1C,px \ -; RUN: -r=%t.o,_ZTV1D,px 2>&1 | FileCheck %s --check-prefix=REMARK +; RUN: -r=%t.o,_ZTV1D,px 2>&1 | FileCheck %s --check-prefix=REMARK --dump-input=fail ; RUN: llvm-dis %t3.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR ; New PM @@ -72,7 +72,7 @@ ; RUN: -r=%t.o,_ZN1D1mEi, \ ; RUN: -r=%t.o,_ZTV1B,px \ ; RUN: -r=%t.o,_ZTV1C,px \ -; RUN: -r=%t.o,_ZTV1D,px 2>&1 | FileCheck %s --check-prefix=REMARK +; RUN: -r=%t.o,_ZTV1D,px 2>&1 | FileCheck %s --check-prefix=REMARK --dump-input=fail ; RUN: llvm-dis %t3.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR ; REMARK-DAG: single-impl: devirtualized a call to _ZN1A1nEi