summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-04-11 16:40:08 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-04-11 16:40:08 +0000
commitc98de13871b3376ba7c25dd33ca49a9712e6542b (patch)
treea7ef1a02ee8161e843e74ec36bf47aa03cbf0f4c /lldb/packages/Python/lldbsuite/test
parent7cf73ec4c76e426b711326f51df811f640c75c33 (diff)
downloadbcm5719-llvm-c98de13871b3376ba7c25dd33ca49a9712e6542b.tar.gz
bcm5719-llvm-c98de13871b3376ba7c25dd33ca49a9712e6542b.zip
ELF: Set FDE count in .eh_frame_hdr correctly.
It is possible to have FDEs with duplicate PCs if ICF was able to merge functions with FDEs, or if the input files for some reason contained duplicate FDEs. We previously weren't handling this correctly when producing the contents of the .eh_frame_hdr section; we were dropping entries and leaving null entries at the end of the section, which confused consumers of unwind data, such as the backtrace() function. Fix the bug by setting the FDE count to the number of FDEs actually emitted into .eh_frame_hdr, rather than the number of FDEs in .eh_frame. Differential Revision: http://reviews.llvm.org/D18911 llvm-svn: 265957
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud