[llvm-commits] [llvm] r73592 - /llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp
Devang Patel
dpatel at apple.com
Tue Jun 16 17:48:26 PDT 2009
Author: dpatel
Date: Tue Jun 16 19:48:26 2009
New Revision: 73592
URL: http://llvm.org/viewvc/llvm-project?rev=73592&view=rev
Log:
Do not use first actual instruction's location for prologue. The debug wants to skip prologue while setting a breakpoint for the function.
Modified:
llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp?rev=73592&r1=73591&r2=73592&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp Tue Jun 16 19:48:26 2009
@@ -729,8 +729,7 @@
bool needsFrameMoves = (MMI && MMI->hasDebugInfo()) ||
!Fn->doesNotThrow() ||
UnwindTablesMandatory;
- DebugLoc DL = (MBBI != MBB.end() ? MBBI->getDebugLoc() :
- DebugLoc::getUnknownLoc());
+ DebugLoc DL;
// Prepare for frame info.
unsigned FrameLabelId = 0;
More information about the llvm-commits
mailing list