[Function] Factor out GetCallEdgeForReturnAddress, NFC
authorVedant Kumar <vsk@apple.com>
Tue, 10 Sep 2019 18:36:50 +0000 (18:36 +0000)
committerVedant Kumar <vsk@apple.com>
Tue, 10 Sep 2019 18:36:50 +0000 (18:36 +0000)
commitff02109ad47af387839f3163168382273fcec05b
treed937b3a9e2694e86faca0ae7744dd4cb6159a09d
parent4a23ae5e78798662c07c94cc708fd70fd5ae88f9
[Function] Factor out GetCallEdgeForReturnAddress, NFC

Finding the call edge in a function which corresponds to a particular
return address is a generic/useful operation.

llvm-svn: 371543
lldb/include/lldb/Symbol/Function.h
lldb/source/Symbol/Function.cpp
lldb/source/Target/StackFrameList.cpp