| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index df70a56234854063ee45964a193670175c8fa19c..3fd77b53cc4cca6429030788800704befb48fbd7 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -67,6 +67,7 @@
|
| #include "src/snapshot/snapshot.h"
|
| #include "src/startup-data-util.h"
|
| #include "src/tracing/trace-event.h"
|
| +#include "src/trap-handler/trap-handler.h"
|
| #include "src/unicode-inl.h"
|
| #include "src/v8.h"
|
| #include "src/v8threads.h"
|
| @@ -6094,6 +6095,15 @@ bool v8::V8::Initialize() {
|
| return true;
|
| }
|
|
|
| +bool V8::TryHandleFault(void* source_instruction, void* target_data,
|
| + void** return_address) {
|
| + return v8::internal::trap_handler::TryHandleFault(
|
| + source_instruction, target_data, return_address);
|
| +}
|
| +
|
| +bool V8::RegisterDefaultSignalHandler() {
|
| + return v8::internal::trap_handler::RegisterDefaultSignalHandler();
|
| +}
|
|
|
| void v8::V8::SetEntropySource(EntropySource entropy_source) {
|
| base::RandomNumberGenerator::SetEntropySource(entropy_source);
|
|
|