| 598 | |
| 599 | stack.ss_size = kStackSize; |
| 600 | stack.ss_flags = |
| 601 | (stack.ss_flags & SS_DISABLE) ? 0 : stack.ss_flags & SS_AUTODISARM; |
| 602 | if (sigaltstack(&stack, nullptr) != 0) { |
| 603 | PLOG(ERROR) << "sigaltstack"; |
| 604 | return false; |
| 605 | } |
| 606 | } |
| 607 | return true; |
| 608 | } |
| 609 | #endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || |
| 610 | // BUILDFLAG(IS_CHROMEOS) |
| 611 | |
| 612 | #if BUILDFLAG(IS_ANDROID) |
| 613 | |
| 614 | bool CrashpadClient::StartJavaHandlerAtCrash( |
| 615 | const std::string& class_name, |
| 616 | const std::vector<std::string>* env, |
| 617 | const base::FilePath& database, |
| 618 | const base::FilePath& metrics_dir, |
| 619 | const std::string& url, |
| 620 | const std::map<std::string, std::string>& annotations, |
| 621 | const std::vector<std::string>& arguments) { |
nothing calls this directly
no test coverage detected