mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 21:01:16 +00:00
Add exec support for Linux including common support for POSIX.
llvm-svn: 192319
This commit is contained in:
1 parent
dc7c73c604
commit
718be877f8
6 files changed
+62
-5
No files matched your search
@@ -352,6 +352,10 @@ POSIXThread::Notify(const ProcessMessage &message)
|
||||
case ProcessMessage::eNewThreadMessage:
|
||||
ThreadNotify(message);
|
||||
break;
|
||||
|
||||
case ProcessMessage::eExecMessage:
|
||||
ExecNotify(message);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -574,6 +578,12 @@ POSIXThread::GetRegisterIndexFromOffset(unsigned offset)
|
||||
return reg;
|
||||
}
|
||||
|
||||
void
|
||||
POSIXThread::ExecNotify(const ProcessMessage &message)
|
||||
{
|
||||
SetStopInfo (StopInfo::CreateStopReasonWithExec(*this));
|
||||
}
|
||||
|
||||
const char *
|
||||
POSIXThread::GetRegisterName(unsigned reg)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user