summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2016-02-10 10:42:13 +0000
committerTamas Berghammer <tberghammer@google.com>2016-02-10 10:42:13 +0000
commit10e9923841a993978e3acf13bb7b0f893a118b81 (patch)
treebc8268b825902b200c110e814f3fa65b1f87d314 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parent1b6dacbb86d9c426bd3cb009a446e7da441fd97c (diff)
downloadbcm5719-llvm-10e9923841a993978e3acf13bb7b0f893a118b81.tar.gz
bcm5719-llvm-10e9923841a993978e3acf13bb7b0f893a118b81.zip
Fix handling of the arm IT instruction in the unwinder
The IT instruction can specify condition code for up to 4 consecutive instruction and it is used quite often by clang in epilogues causing an issue when trying to unwind from locations covered by the IT instruction and for locatins inmediately after the IT instruction. Changes made to fix it: * Introduce the concept of conditional instruction block what is a list of consecutive instructions with the same condition. We update the unwind information during the conditional instruction block and when we reach the end of it (first instruction with a differemt condition) then we restore the unwind information we had before the condition. * Fix a bug in the ARM instruction emulator where neither PC nor the ITSTATE was advanced when we reached an instruction what we can't decode. After the change we have no regression on android-arm running the regular test suit and TestStandardUnwind also passes when running it with clang as the compiler (previously it failed on an IT instruction). Differential revision: http://reviews.llvm.org/D16814 llvm-svn: 260368
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud