summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2017-09-27 06:08:16 +0000
committerMartin Storsjo <martin@martin.st>2017-09-27 06:08:16 +0000
commiteccaf04e40f9b226474cbdc4dc8b301ff528dfe8 (patch)
tree68516bb02836d275c81efe2bede589701b4e8385 /lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp
parent233349fe519b0659906bb62a80ea95d147d79940 (diff)
downloadbcm5719-llvm-eccaf04e40f9b226474cbdc4dc8b301ff528dfe8.tar.gz
bcm5719-llvm-eccaf04e40f9b226474cbdc4dc8b301ff528dfe8.zip
[X86] Remove erroneous callsite offsetting in SJLJ landing pads
The callsite value is already stored indexed from 0 in the _Unwind_Context struct. When accessed via the functions _Unwind_GetIP and _Unwind_SetIP, the value is indexed from 1, but those functions handle the offseting. When reading directly from the struct here, we shouldn't subtract 1. This matches the code generated by the ARM target, where SJLJ exception handling is used by default on iOS. This makes clang-built object files for 32 bit x86 mingw work when linked with libgcc/libstdc++. Differential Revision: https://reviews.llvm.org/D38251 llvm-svn: 314276
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud