aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-07-06 09:24:20 +0000
committerTamas Berghammer <tberghammer@google.com>2015-07-06 09:24:20 +0000
commit8d53464472ad24824c453823a894e08baafd330e (patch)
tree31b009051a7606f61e1c31ef8824fb25013c1b74 /llvm/lib/Object/COFFObjectFile.cpp
parent5b816061ba9294b8aeabc5d22eb87978ca0015bc (diff)
downloadllvm-8d53464472ad24824c453823a894e08baafd330e.zip
llvm-8d53464472ad24824c453823a894e08baafd330e.tar.gz
llvm-8d53464472ad24824c453823a894e08baafd330e.tar.bz2
Improve UnwindLLDB with better detection for unwinding failures
Previously we accepted a frame as correct result if the PC pointed into an executable section of code. The isse with that approac is that if we calculated PC correctly but messed up the value of CFA then unwinding from the next fram will most likely fail. With this change I modify the logic with keeping the requirement for PC to point to an executable section and also check that we can continue the unwind from the frame we calculated. If continuing from the frame calculated with the primary unwind plan isn't working then fall back to the fallback plan with the hope for a better frame (if the fallback plan won't help then we acceot the frame from the primary plan). Differential revision: http://reviews.llvm.org/D10932 llvm-svn: 241434
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions