Fix the OProfileJITEventListener build after r101844 removed
authorJeffrey Yasskin <jyasskin@google.com>
Fri, 30 Apr 2010 00:16:10 +0000 (00:16 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Fri, 30 Apr 2010 00:16:10 +0000 (00:16 +0000)
commit8c818fc35cc7675e8c1743359f2ac23006d09c4c
tree455e1ce7e1a53515a7da15e5265f10f69461c5bb
parent47bd03b2779bc500fb0472518d0e278f080ee79a
Fix the OProfileJITEventListener build after r101844 removed
MachineFunction::DefaultDebugLoc.  We now use the same technique as
DwarfDebug::beginFunction to find the starting line number for a
function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102679 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp