Add new lines to debugging information.

Differential Revision: http://reviews.llvm.org/D4262


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212250 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Trieu 2014-07-03 02:11:49 +00:00
parent 0795d302de
commit fa9ca85bc6
2 changed files with 10 additions and 1 deletions

View File

@ -606,7 +606,7 @@ namespace {
if ((*I)->getFunction())
(*I)->getFunction()->print(Out);
else
Out << "Printing <null> Function";
Out << "\nPrinting <null> Function\n";
}
return false;
}

View File

@ -0,0 +1,9 @@
; RUN: opt -print-before=always-inline -always-inline < %s -o /dev/null 2>&1 | FileCheck %s
define i32 @main() #0 {
entry:
ret i32 0
}
; CHECK: *** IR Dump Before Inliner for always_inline functions ***
; CHECK: Printing <null> Function