mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
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:
@@ -606,7 +606,7 @@ namespace {
|
|||||||
if ((*I)->getFunction())
|
if ((*I)->getFunction())
|
||||||
(*I)->getFunction()->print(Out);
|
(*I)->getFunction()->print(Out);
|
||||||
else
|
else
|
||||||
Out << "Printing <null> Function";
|
Out << "\nPrinting <null> Function\n";
|
||||||
}
|
}
|
||||||
return false;
|
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
|
Reference in New Issue
Block a user