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, |
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 // See the License for the specific language governing permissions and | 12 // See the License for the specific language governing permissions and |
13 // limitations under the License. | 13 // limitations under the License. |
14 | 14 |
15 #include "client/crashpad_info.h" | 15 #include "client/crashpad_info.h" |
16 | 16 |
17 #include "build/build_config.h" | |
18 #include "util/stdlib/cxx.h" | 17 #include "util/stdlib/cxx.h" |
19 | 18 |
20 #if defined(OS_MACOSX) | 19 #if defined(OS_MACOSX) |
21 #include <mach-o/loader.h> | 20 #include <mach-o/loader.h> |
22 #endif | 21 #endif |
23 | 22 |
24 #if CXX_LIBRARY_VERSION >= 2011 | 23 #if CXX_LIBRARY_VERSION >= 2011 |
25 #include <type_traits> | 24 #include <type_traits> |
26 #endif | 25 #endif |
27 | 26 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 : signature_(kSignature), | 86 : signature_(kSignature), |
88 size_(sizeof(*this)), | 87 size_(sizeof(*this)), |
89 version_(kCrashpadInfoVersion), | 88 version_(kCrashpadInfoVersion), |
90 crashpad_handler_behavior_(TriState::kUnset), | 89 crashpad_handler_behavior_(TriState::kUnset), |
91 system_crash_reporter_forwarding_(TriState::kUnset), | 90 system_crash_reporter_forwarding_(TriState::kUnset), |
92 padding_0_(0), | 91 padding_0_(0), |
93 simple_annotations_(nullptr) { | 92 simple_annotations_(nullptr) { |
94 } | 93 } |
95 | 94 |
96 } // namespace crashpad | 95 } // namespace crashpad |
OLD | NEW |