DescriptionMac x86-64: Mach exception support.
This extends Mach exception support to x86-64 on Mac. The Mach exception
handler maps threads from their Mach port number in the local (task/process)
port namespace to their Native Client thread index by consulting a new Mach
thread map which is maintained on x86-64 as Native Client threads come in and
out of existence.
Additional changes:
- Provides an x86-64 implementation of NaClMachThreadIsInUntrusted.
- On x86-64 and x86-32 alike, it now bails out on trying to handle an
exception if no untrusted exception handler is set before setting the flag
that declares that an untrusted exception handler has been invoked. With
this change, all tests now pass with platform=x86-64.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3087
TEST=scons platform=x86-64 exception_tests
Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=10861
Patch Set 1 : #
Total comments: 9
Patch Set 2 : #Patch Set 3 : #
Total comments: 15
Patch Set 4 : #
Total comments: 2
Patch Set 5 : #
Total comments: 11
Patch Set 6 : #
Total comments: 1
Messages
Total messages: 15 (0 generated)
|