1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Add new lines to debugging information.

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

llvm-svn: 212250
This commit is contained in:
Richard Trieu 2014-07-03 02:11:49 +00:00
parent d7e281bba1
commit 51122628e6
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