hanchenye-llvm-project/lldb/source/Plugins/Process/Utility
Stephane Sezer 15d810fa29 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
2014-10-31 22:37:24 +00:00
..
ARMDefines.h Fix typos. 2014-07-08 18:05:41 +00:00
ARMUtils.h Fix typos. 2014-07-08 18:05:41 +00:00
CMakeLists.txt First cut of PowerPC(64) support in LLDB. 2014-10-31 02:34:28 +00:00
DynamicRegisterInfo.cpp This creates a valid Python API for Windows, pending some issues. The changes included are - 2014-07-01 17:57:19 +00:00
DynamicRegisterInfo.h
FreeBSDSignals.cpp
FreeBSDSignals.h
HistoryThread.cpp Remove unused class variable and update all callers/users. 2014-09-09 06:14:23 +00:00
HistoryThread.h ASan malloc/free history threads 2014-09-04 01:03:18 +00:00
HistoryUnwind.cpp Remove unused class variable and update all callers/users. 2014-09-09 06:14:23 +00:00
HistoryUnwind.h Remove unused class variable and update all callers/users. 2014-09-09 06:14:23 +00:00
InferiorCallPOSIX.cpp This checkin is the first step in making the lldb thread stepping mechanism more accessible from 2014-09-29 23:17:18 +00:00
InferiorCallPOSIX.h
InstructionUtils.h A << operation would be undefined for a bit-selecting 2014-10-17 01:52:30 +00:00
LinuxSignals.cpp Always transmit SIGPROF back to the inferior. 2014-10-31 22:37:24 +00:00
LinuxSignals.h Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
Makefile
RegisterContextDarwin_arm.cpp Fix typos. 2014-07-08 18:05:41 +00:00
RegisterContextDarwin_arm.h Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextDarwin_arm64.cpp lldb - Register Context Linux ARM64 2014-08-29 16:01:35 +00:00
RegisterContextDarwin_arm64.h Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextDarwin_i386.cpp Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextDarwin_i386.h Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextDarwin_x86_64.cpp Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextDarwin_x86_64.h Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextDummy.cpp Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextDummy.h Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextFreeBSD_i386.cpp Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
RegisterContextFreeBSD_i386.h Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
RegisterContextFreeBSD_mips64.cpp Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
RegisterContextFreeBSD_mips64.h Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
RegisterContextFreeBSD_powerpc.cpp First cut of PowerPC(64) support in LLDB. 2014-10-31 02:34:28 +00:00
RegisterContextFreeBSD_powerpc.h First cut of PowerPC(64) support in LLDB. 2014-10-31 02:34:28 +00:00
RegisterContextFreeBSD_x86_64.cpp Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
RegisterContextFreeBSD_x86_64.h Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
RegisterContextHistory.cpp Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextHistory.h Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextLLDB.cpp Be more consistent about null checks for the Process and ABI 2014-10-15 03:11:37 +00:00
RegisterContextLLDB.h RegisterContextLLDB::InitializeNonZerothFrame had a bit of code to 2014-09-02 23:04:01 +00:00
RegisterContextLinux_arm64.cpp lldb - Register Context Linux ARM64 2014-08-29 16:01:35 +00:00
RegisterContextLinux_arm64.h lldb - Register Context Linux ARM64 2014-08-29 16:01:35 +00:00
RegisterContextLinux_i386.cpp Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
RegisterContextLinux_i386.h Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
RegisterContextLinux_x86_64.cpp Fix incorrect Linux i386 register info initialization on x86_64. 2014-08-12 05:26:52 +00:00
RegisterContextLinux_x86_64.h Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
RegisterContextMacOSXFrameBackchain.cpp First cut of PowerPC(64) support in LLDB. 2014-10-31 02:34:28 +00:00
RegisterContextMacOSXFrameBackchain.h Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextMach_arm.cpp
RegisterContextMach_arm.h
RegisterContextMach_i386.cpp
RegisterContextMach_i386.h
RegisterContextMach_x86_64.cpp
RegisterContextMach_x86_64.h
RegisterContextMemory.cpp Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextMemory.h Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextPOSIX.h
RegisterContextPOSIX_arm64.cpp Linux ARM64: add ProcessMonitor-related RegisterContext support. 2014-09-02 14:50:01 +00:00
RegisterContextPOSIX_arm64.h Linux ARM64: add ProcessMonitor-related RegisterContext support. 2014-09-02 14:50:01 +00:00
RegisterContextPOSIX_mips64.cpp Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextPOSIX_mips64.h Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextPOSIX_powerpc.cpp First cut of PowerPC(64) support in LLDB. 2014-10-31 02:34:28 +00:00
RegisterContextPOSIX_powerpc.h First cut of PowerPC(64) support in LLDB. 2014-10-31 02:34:28 +00:00
RegisterContextPOSIX_x86.cpp Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextPOSIX_x86.h Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextThreadMemory.cpp Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContextThreadMemory.h Replace uint32_t by lldb::RegisterKing in register context API. 2014-07-02 09:51:28 +00:00
RegisterContext_mips64.h
RegisterContext_powerpc.h First cut of PowerPC(64) support in LLDB. 2014-10-31 02:34:28 +00:00
RegisterContext_x86.h gcc_esp_i386 and gcc_ebp_i386 had their values backwards for 2014-08-13 00:52:49 +00:00
RegisterInfoInterface.h Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
RegisterInfos_arm64.h Enable llgs to build against experimental Android AOSP lldb/llvm/clang/compiler-rt repos. 2014-09-27 16:54:22 +00:00
RegisterInfos_i386.h
RegisterInfos_mips64.h
RegisterInfos_powerpc.h First cut of PowerPC(64) support in LLDB. 2014-10-31 02:34:28 +00:00
RegisterInfos_x86_64.h
StopInfoMachException.cpp lldb Missing break statement added. 2014-08-27 16:12:35 +00:00
StopInfoMachException.h
ThreadMemory.cpp
ThreadMemory.h
UnwindLLDB.cpp
UnwindLLDB.h
UnwindMacOSXFrameBackchain.cpp
UnwindMacOSXFrameBackchain.h
lldb-x86-register-enums.h Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00