OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/debug/stack_trace.h" | 5 #include "base/debug/stack_trace.h" |
6 | 6 |
7 #include <errno.h> | 7 #include <errno.h> |
8 #include <execinfo.h> | 8 #include <execinfo.h> |
9 #include <fcntl.h> | 9 #include <fcntl.h> |
10 #include <signal.h> | 10 #include <signal.h> |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 #if defined(OS_MACOSX) | 24 #if defined(OS_MACOSX) |
25 #include <AvailabilityMacros.h> | 25 #include <AvailabilityMacros.h> |
26 #endif | 26 #endif |
27 | 27 |
28 #include "base/basictypes.h" | 28 #include "base/basictypes.h" |
29 #include "base/debug/debugger.h" | 29 #include "base/debug/debugger.h" |
30 #include "base/logging.h" | 30 #include "base/logging.h" |
31 #include "base/memory/scoped_ptr.h" | 31 #include "base/memory/scoped_ptr.h" |
32 #include "base/posix/eintr_wrapper.h" | 32 #include "base/posix/eintr_wrapper.h" |
33 #include "base/string_number_conversions.h" | 33 #include "base/strings/string_number_conversions.h" |
34 | 34 |
35 #if defined(USE_SYMBOLIZE) | 35 #if defined(USE_SYMBOLIZE) |
36 #include "base/third_party/symbolize/symbolize.h" | 36 #include "base/third_party/symbolize/symbolize.h" |
37 #endif | 37 #endif |
38 | 38 |
39 namespace base { | 39 namespace base { |
40 namespace debug { | 40 namespace debug { |
41 | 41 |
42 namespace { | 42 namespace { |
43 | 43 |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 *ptr = *start; | 547 *ptr = *start; |
548 *start++ = ch; | 548 *start++ = ch; |
549 } | 549 } |
550 return buf; | 550 return buf; |
551 } | 551 } |
552 | 552 |
553 } // namespace internal | 553 } // namespace internal |
554 | 554 |
555 } // namespace debug | 555 } // namespace debug |
556 } // namespace base | 556 } // namespace base |
OLD | NEW |