summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorStephane Sezer <sas@cd80.net>2014-10-31 22:37:24 +0000
committerStephane Sezer <sas@cd80.net>2014-10-31 22:37:24 +0000
commit15d810fa29b370a17131233c7a60b626f8ad686b (patch)
treea63f952e491f1a0503d859ba2b426f39ae33da71 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent1d96cc2ff361d80b0a642b49cb2ab838240cd3f8 (diff)
Always transmit SIGPROF back to the inferior.
Summary: SIGPROF is used for profiling processes (with google-perftools for instance), which results in the inferior receiving a SIGPROF from the kernel every few milliseconds. Instead of stopping the debugging session and notifying the user of this, we should just pass the signal and keep running. This follows the behavior we have in UnixSignals.cpp. Test Plan: Run LLDB on linux with a binary using google-perftools, see that execution gets interrupted all the time because we receive SIGPROF. Apply the patch, everything works fine. Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D5953 llvm-svn: 221011
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions