| Index: test/cctest/cctest.cc
|
| diff --git a/test/cctest/cctest.cc b/test/cctest/cctest.cc
|
| index e578a7a141bd883071ed78e7bd7ea3bd5af1d5d6..a76260c26195f32ec656b2e26e21652d34b4803e 100644
|
| --- a/test/cctest/cctest.cc
|
| +++ b/test/cctest/cctest.cc
|
| @@ -31,6 +31,7 @@
|
| #include "include/libplatform/libplatform.h"
|
| #include "src/debug/debug.h"
|
| #include "src/objects-inl.h"
|
| +#include "src/trap-handler/trap-handler.h"
|
| #include "test/cctest/print-extension.h"
|
| #include "test/cctest/profiler-extension.h"
|
| #include "test/cctest/trace-extension.h"
|
| @@ -268,6 +269,10 @@ int main(int argc, char* argv[]) {
|
| v8::V8::Initialize();
|
| v8::V8::InitializeExternalStartupData(argv[0]);
|
|
|
| + if (i::trap_handler::ShouldEnableTrapHandler()) {
|
| + v8::V8::RegisterDefaultSignalHandler();
|
| + }
|
| +
|
| CcTestArrayBufferAllocator array_buffer_allocator;
|
| CcTest::set_array_buffer_allocator(&array_buffer_allocator);
|
|
|
|
|