| Index: runtime/bin/platform_macos.cc
|
| diff --git a/runtime/bin/platform_macos.cc b/runtime/bin/platform_macos.cc
|
| index 2745df6490ee3a1d6f64b7e1f7ebfac6f0693b53..dda9ab8b8c36f896d0a2816de733a11374d85198 100644
|
| --- a/runtime/bin/platform_macos.cc
|
| +++ b/runtime/bin/platform_macos.cc
|
| @@ -60,6 +60,10 @@ bool Platform::Initialize() {
|
| perror("sigaction() failed.");
|
| return false;
|
| }
|
| + if (sigaction(SIGBUS, &act, NULL) != 0) {
|
| + perror("sigaction() failed.");
|
| + return false;
|
| + }
|
| if (sigaction(SIGTRAP, &act, NULL) != 0) {
|
| perror("sigaction() failed.");
|
| return false;
|
|
|