summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Darwin
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2017-12-10 23:33:33 +0000
committerDavide Italiano <davide@freebsd.org>2017-12-10 23:33:33 +0000
commit1209c4b4e77d6f2c04efcad7d2483c090bb79041 (patch)
tree272c004dd738bd661c3c35987ac1d0595ab200c0 /lldb/source/Plugins/Process/Darwin
parent188b437fcb6f731b765c38989f410ffe482efc30 (diff)
downloadbcm5719-llvm-1209c4b4e77d6f2c04efcad7d2483c090bb79041.tar.gz
bcm5719-llvm-1209c4b4e77d6f2c04efcad7d2483c090bb79041.zip
[MachException] Garbage collect unused and dead code.
llvm-svn: 320337
Diffstat (limited to 'lldb/source/Plugins/Process/Darwin')
-rw-r--r--lldb/source/Plugins/Process/Darwin/MachException.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/lldb/source/Plugins/Process/Darwin/MachException.cpp b/lldb/source/Plugins/Process/Darwin/MachException.cpp
index 3077535da6a..9f5920753d6 100644
--- a/lldb/source/Plugins/Process/Darwin/MachException.cpp
+++ b/lldb/source/Plugins/Process/Darwin/MachException.cpp
@@ -126,33 +126,6 @@ catch_mach_exception_raise(mach_port_t exc_port, mach_port_t thread_port,
return KERN_FAILURE;
}
-#if 0
-void
-MachException::Message::Dump(Stream &stream) const
-{
- stream.Printf("exc_msg { bits = 0x%8.8x size = 0x%8.8x remote-port = "
- "0x%8.8x local-port = 0x%8.8x reserved = 0x%8.8x "
- "id = 0x%8.8x }\n",
- exc_msg.hdr.msgh_bits,
- exc_msg.hdr.msgh_size,
- exc_msg.hdr.msgh_remote_port,
- exc_msg.hdr.msgh_local_port,
- exc_msg.hdr.msgh_reserved,
- exc_msg.hdr.msgh_id);
-
- stream.Printf("reply_msg { bits = 0x%8.8x size = 0x%8.8x remote-port "
- "= 0x%8.8x local-port = 0x%8.8x reserved = 0x%8.8x "
- "id = 0x%8.8x }",
- reply_msg.hdr.msgh_bits,
- reply_msg.hdr.msgh_size,
- reply_msg.hdr.msgh_remote_port,
- reply_msg.hdr.msgh_local_port,
- reply_msg.hdr.msgh_reserved,
- reply_msg.hdr.msgh_id);
- stream.Flush();
-}
-#endif
-
bool MachException::Data::GetStopInfo(struct ThreadStopInfo *stop_info,
const UnixSignals &signals,
Stream &stream) const {
OpenPOWER on IntegriCloud