[llvm-commits] [llvm-gcc-4.2] r46637 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Evan Cheng
evan.cheng at apple.com
Fri Feb 1 01:12:58 PST 2008
Author: evancheng
Date: Fri Feb 1 03:12:58 2008
New Revision: 46637
URL: http://llvm.org/viewvc/llvm-project?rev=46637&view=rev
Log:
Do not emit an entry stop point. llvm.dbg.func.start implicitly defines one now.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp?rev=46637&r1=46636&r2=46637&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp Fri Feb 1 03:12:58 2008
@@ -274,12 +274,9 @@
if (!FuncStartFn)
FuncStartFn = Intrinsic::getDeclaration(M, Intrinsic::dbg_func_start);
- // Call llvm.dbg.func.start.
+ // Call llvm.dbg.func.start which also implicitly calls llvm.dbg.stoppoint.
new CallInst(FuncStartFn, getCastValueFor(Subprogram), "", CurBB);
- // Provide an entry stop point.
- EmitStopPoint(Fn, CurBB);
-
// Push function on region stack.
RegionStack.push_back(Subprogram);
}
More information about the llvm-commits
mailing list