From 5bc6d0fbe4fe03fe1a9f7bc2aead08c233e9e885 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 8 Nov 2013 21:28:00 +0000 Subject: Make -fdump-vtable-layouts print to stdout, not stderr This makes it consistent with -fdump-record-layouts, which was moved to outs() in r186219. My reasoning for going with stdout is that when one of these options is present, the layouts are really a program output, and shouldn't be interleaved with diagnostics, which are on stderr. Reviewers: timurrrr Differential Revision: http://llvm-reviews.chandlerc.com/D2127 llvm-svn: 194279 --- .../microsoft-abi-vtables-multiple-nonvirtual-inheritance.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance.cpp') diff --git a/clang/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance.cpp b/clang/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance.cpp index c3f1ab08b3e..d93dee11cde 100644 --- a/clang/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance.cpp +++ b/clang/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -fno-rtti -cxx-abi microsoft -triple=i386-pc-win32 -emit-llvm -fdump-vtable-layouts -o - >%t 2>&1 +// RUN: %clang_cc1 %s -fno-rtti -cxx-abi microsoft -triple=i386-pc-win32 -emit-llvm -o %t.ll -fdump-vtable-layouts >%t // RUN: FileCheck --check-prefix=NO-THUNKS-Test1 %s < %t // RUN: FileCheck --check-prefix=NO-THUNKS-Test2 %s < %t @@ -24,7 +24,7 @@ // RUN: FileCheck --check-prefix=RET-THUNKS-Test5 %s < %t // RUN: FileCheck --check-prefix=RET-THUNKS-Test6 %s < %t -// RUN: FileCheck --check-prefix=MANGLING %s < %t +// RUN: FileCheck --check-prefix=MANGLING %s < %t.ll struct Empty { // Doesn't have a vftable! -- cgit v1.2.3