mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-10 18:37:01 +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:
parent
0795d302de
commit
fa9ca85bc6
@ -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…
x
Reference in New Issue
Block a user