mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Convert DbgInfoPrinter to use errs() instead of outs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111659 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3120c18e08
commit
7316638bc7
@ -40,7 +40,7 @@ namespace {
|
||||
void printVariableDeclaration(const Value *V);
|
||||
public:
|
||||
static char ID; // Pass identification
|
||||
PrintDbgInfo() : FunctionPass(ID), Out(outs()) {}
|
||||
PrintDbgInfo() : FunctionPass(ID), Out(errs()) {}
|
||||
|
||||
virtual bool runOnFunction(Function &F);
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt < %s -print-dbginfo -disable-output | FileCheck %s
|
||||
; RUN: opt < %s -print-dbginfo -disable-output |& FileCheck %s
|
||||
; grep {%b is variable b of type x declared at x.c:7} %t1
|
||||
; grep {%2 is variable b of type x declared at x.c:7} %t1
|
||||
; grep {@c.1442 is variable c of type int declared at x.c:4} %t1
|
||||
|
Loading…
Reference in New Issue
Block a user