summaryrefslogtreecommitdiffstats
path: root/lldb/tools/driver/Platform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/tools/driver/Platform.cpp')
-rw-r--r--lldb/tools/driver/Platform.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/lldb/tools/driver/Platform.cpp b/lldb/tools/driver/Platform.cpp
index 1a58d4de03e..a9d1bee5ccf 100644
--- a/lldb/tools/driver/Platform.cpp
+++ b/lldb/tools/driver/Platform.cpp
@@ -34,9 +34,8 @@ int ioctl(int d, int request, ...) {
return 0;
} break;
default:
- assert(!"Not implemented!");
+ llvm_unreachable("Not implemented!");
}
- return -1;
}
int kill(pid_t pid, int sig) {
@@ -44,13 +43,11 @@ int kill(pid_t pid, int sig) {
if (pid == getpid())
exit(sig);
//
- assert(!"Not implemented!");
- return -1;
+ llvm_unreachable("Not implemented!");
}
int tcsetattr(int fd, int optional_actions, const struct termios *termios_p) {
- assert(!"Not implemented!");
- return -1;
+ llvm_unreachable("Not implemented!");
}
int tcgetattr(int fildes, struct termios *termios_p) {
OpenPOWER on IntegriCloud