summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
diff options
context:
space:
mode:
authorManoj Gupta <manojgupta@google.com>2017-08-01 15:39:12 +0000
committerManoj Gupta <manojgupta@google.com>2017-08-01 15:39:12 +0000
commit7ebbe655edd411bd79a726251ec23d9477ccb64c (patch)
tree97d098d134b8cafce43927d1eaa98c3a34b8481c /lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
parent2462a713ae4e06f11bc558787153412531fe1a52 (diff)
downloadbcm5719-llvm-7ebbe655edd411bd79a726251ec23d9477ccb64c.tar.gz
bcm5719-llvm-7ebbe655edd411bd79a726251ec23d9477ccb64c.zip
[X86] Fix a crash in FEntryInserter Pass.
Summary: FEntryInserter pass unconditionally derefs the first Instruction in the first Basic Block. The pass crashes when the first BasicBlock is empty. Fix the crash by not dereferencing the basic Block iterator. This fixes an issue observed when building Linux kernel 4.4 with clang. Fixes PR33971. Reviewers: hfinkel, niravd, dblaikie Reviewed By: niravd Subscribers: davide, llvm-commits Differential Revision: https://reviews.llvm.org/D35979 llvm-svn: 309694
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud