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:
parent
d7e281bba1
commit
51122628e6
@ -606,7 +606,7 @@ namespace {
|
||||
if ((*I)->getFunction())
|
||||
(*I)->getFunction()->print(Out);
|
||||
else
|
||||
Out << "Printing <null> Function";
|
||||
Out << "\nPrinting <null> Function\n";
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
9
test/Transforms/Inline/null-function.ll
Normal file
9
test/Transforms/Inline/null-function.ll
Normal 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
|
Loading…
Reference in New Issue
Block a user