OLD | NEW |
1 // Copyright 2014 The Crashpad Authors. All rights reserved. | 1 // Copyright 2014 The Crashpad Authors. All rights reserved. |
2 // | 2 // |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
6 // | 6 // |
7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
8 // | 8 // |
9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "gtest/gtest.h" | 23 #include "gtest/gtest.h" |
24 #include "test/mac/mach_errors.h" | 24 #include "test/mac/mach_errors.h" |
25 #include "test/mac/mach_multiprocess.h" | 25 #include "test/mac/mach_multiprocess.h" |
26 #include "util/mach/exc_server_variants.h" | 26 #include "util/mach/exc_server_variants.h" |
27 #include "util/mach/exception_behaviors.h" | 27 #include "util/mach/exception_behaviors.h" |
28 #include "util/mach/exception_ports.h" | 28 #include "util/mach/exception_ports.h" |
29 #include "util/mach/mach_extensions.h" | 29 #include "util/mach/mach_extensions.h" |
30 #include "util/mach/mach_message.h" | 30 #include "util/mach/mach_message.h" |
31 #include "util/mach/mach_message_server.h" | 31 #include "util/mach/mach_message_server.h" |
32 #include "util/mach/symbolic_constants_mach.h" | 32 #include "util/mach/symbolic_constants_mach.h" |
| 33 #include "util/misc/implicit_cast.h" |
33 | 34 |
34 namespace crashpad { | 35 namespace crashpad { |
35 namespace test { | 36 namespace test { |
36 namespace { | 37 namespace { |
37 | 38 |
38 class TestSimulateCrashMac final : public MachMultiprocess, | 39 class TestSimulateCrashMac final : public MachMultiprocess, |
39 public UniversalMachExcServer::Interface { | 40 public UniversalMachExcServer::Interface { |
40 public: | 41 public: |
41 // Defines which targets the child should set an EXC_CRASH exception handler | 42 // Defines which targets the child should set an EXC_CRASH exception handler |
42 // for. | 43 // for. |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 test_simulate_crash_mac.Run(); | 378 test_simulate_crash_mac.Run(); |
378 } | 379 } |
379 } | 380 } |
380 } | 381 } |
381 } | 382 } |
382 } | 383 } |
383 | 384 |
384 } // namespace | 385 } // namespace |
385 } // namespace test | 386 } // namespace test |
386 } // namespace crashpad | 387 } // namespace crashpad |
OLD | NEW |