ipc/ipdl/msgtype-components
author Andrew McCreight <continuation@gmail.com>
Tue, 24 Jun 2014 11:27:39 -0700
changeset 190563 225ad76a4c79bc7a3e857143f16281d15302cc31
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 1023368 - Non-fatally provide information about the LLVM symbolizer in cppunittests. r=jmaher

#!/usr/bin/python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.


import sys

msgid = int(sys.argv[1])
protocol = (msgid >> 16)
msg = (msgid - (protocol << 16))

print 'protocol', protocol, 'message', msg