summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectReproducer.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-11-20 14:11:00 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2019-11-20 14:28:37 -0800
commit25f33d8318a39673fea798b24faf68154c03fdc1 (patch)
treeb4b0eb289543a2b2efce5701ac7e61e51b3dc255 /lldb/source/Commands/CommandObjectReproducer.cpp
parentf24ed3a05198003ef2c76ead91019561a45d26b5 (diff)
downloadbcm5719-llvm-25f33d8318a39673fea798b24faf68154c03fdc1.tar.gz
bcm5719-llvm-25f33d8318a39673fea798b24faf68154c03fdc1.zip
[Reproducer] Limit signals to macro define sin <csignal>
SIGBUS is not part of the signal macros defined in the header <csignal>.
Diffstat (limited to 'lldb/source/Commands/CommandObjectReproducer.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectReproducer.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lldb/source/Commands/CommandObjectReproducer.cpp b/lldb/source/Commands/CommandObjectReproducer.cpp
index 7f97ba2875c..2797f3c0a9f 100644
--- a/lldb/source/Commands/CommandObjectReproducer.cpp
+++ b/lldb/source/Commands/CommandObjectReproducer.cpp
@@ -74,18 +74,12 @@ static constexpr OptionEnumValues ReproducerProviderType() {
#include "CommandOptions.inc"
enum ReproducerCrashSignal {
- eReproducerCrashSigbus,
eReproducerCrashSigill,
eReproducerCrashSigsegv,
};
static constexpr OptionEnumValueElement g_reproducer_signaltype[] = {
{
- eReproducerCrashSigbus,
- "SIGBUS",
- "Bus error",
- },
- {
eReproducerCrashSigill,
"SIGILL",
"Illegal instruction",
@@ -219,9 +213,6 @@ protected:
case eReproducerCrashSigill:
std::raise(SIGILL);
break;
- case eReproducerCrashSigbus:
- std::raise(SIGBUS);
- break;
case eReproducerCrashSigsegv:
std::raise(SIGSEGV);
break;
OpenPOWER on IntegriCloud