Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: tools/mac/catch_exception_tool.cc

Issue 1022663002: Add crashpad_database_util and its man page (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Address review feedback Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/generate_dump.cc ('k') | tools/mac/exception_port_tool.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 // Long options without short equivalents. 193 // Long options without short equivalents.
194 kOptionLastChar = 255, 194 kOptionLastChar = 255,
195 195
196 // Standard options. 196 // Standard options.
197 kOptionHelp = -2, 197 kOptionHelp = -2,
198 kOptionVersion = -3, 198 kOptionVersion = -3,
199 }; 199 };
200 200
201 Options options = {}; 201 Options options = {};
202 202
203 const struct option long_options[] = { 203 const option long_options[] = {
204 {"file", required_argument, nullptr, kOptionFile}, 204 {"file", required_argument, nullptr, kOptionFile},
205 {"mach-service", required_argument, nullptr, kOptionMachService}, 205 {"mach-service", required_argument, nullptr, kOptionMachService},
206 {"persistent", no_argument, nullptr, kOptionPersistent}, 206 {"persistent", no_argument, nullptr, kOptionPersistent},
207 {"timeout", required_argument, nullptr, kOptionTimeout}, 207 {"timeout", required_argument, nullptr, kOptionTimeout},
208 {"help", no_argument, nullptr, kOptionHelp}, 208 {"help", no_argument, nullptr, kOptionHelp},
209 {"version", no_argument, nullptr, kOptionVersion}, 209 {"version", no_argument, nullptr, kOptionVersion},
210 {nullptr, 0, nullptr, 0}, 210 {nullptr, 0, nullptr, 0},
211 }; 211 };
212 212
213 int opt; 213 int opt;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 308
309 return EXIT_SUCCESS; 309 return EXIT_SUCCESS;
310 } 310 }
311 311
312 } // namespace 312 } // namespace
313 } // namespace crashpad 313 } // namespace crashpad
314 314
315 int main(int argc, char* argv[]) { 315 int main(int argc, char* argv[]) {
316 return crashpad::CatchExceptionToolMain(argc, argv); 316 return crashpad::CatchExceptionToolMain(argc, argv);
317 } 317 }
OLDNEW
« no previous file with comments | « tools/generate_dump.cc ('k') | tools/mac/exception_port_tool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698