From: Richard Trieu Date: Thu, 3 Jul 2014 02:11:49 +0000 (+0000) Subject: Add new lines to debugging information. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fa9ca85bc604c1b55d6e9fe19dfb4e16242b415b;p=oota-llvm.git 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 --- diff --git a/lib/Analysis/IPA/CallGraphSCCPass.cpp b/lib/Analysis/IPA/CallGraphSCCPass.cpp index 730eb7156d1..c27edbfa2ff 100644 --- a/lib/Analysis/IPA/CallGraphSCCPass.cpp +++ b/lib/Analysis/IPA/CallGraphSCCPass.cpp @@ -606,7 +606,7 @@ namespace { if ((*I)->getFunction()) (*I)->getFunction()->print(Out); else - Out << "Printing Function"; + Out << "\nPrinting Function\n"; } return false; } diff --git a/test/Transforms/Inline/null-function.ll b/test/Transforms/Inline/null-function.ll new file mode 100644 index 00000000000..2aecfa85cd8 --- /dev/null +++ b/test/Transforms/Inline/null-function.ll @@ -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 Function