| 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/process_util.h" |  | 
|   6  |  | 
|   7 #import <Foundation/Foundation.h> |   5 #import <Foundation/Foundation.h> | 
|   8 #include <mach/task.h> |   6 #include <mach/task.h> | 
|   9 #include <stdio.h> |   7 #include <stdio.h> | 
|  10  |   8  | 
|  11 #include "base/logging.h" |   9 #include "base/logging.h" | 
|  12  |  10  | 
|  13 // This is just enough of a shim to let the support needed by test_support |  11 // This is just enough of a shim to let the support needed by test_support | 
|  14 // link. |  12 // link. | 
|  15  |  13  | 
|  16 namespace base { |  14 namespace base { | 
| (...skipping 29 matching lines...) Expand all  Loading... | 
|  46   success &= (signal(SIGFPE, &StackDumpSignalHandler) != SIG_ERR); |  44   success &= (signal(SIGFPE, &StackDumpSignalHandler) != SIG_ERR); | 
|  47   success &= (signal(SIGBUS, &StackDumpSignalHandler) != SIG_ERR); |  45   success &= (signal(SIGBUS, &StackDumpSignalHandler) != SIG_ERR); | 
|  48   success &= (signal(SIGSEGV, &StackDumpSignalHandler) != SIG_ERR); |  46   success &= (signal(SIGSEGV, &StackDumpSignalHandler) != SIG_ERR); | 
|  49   success &= (signal(SIGSYS, &StackDumpSignalHandler) != SIG_ERR); |  47   success &= (signal(SIGSYS, &StackDumpSignalHandler) != SIG_ERR); | 
|  50  |  48  | 
|  51   return success; |  49   return success; | 
|  52 } |  50 } | 
|  53  |  51  | 
|  54 }  // namespace debug |  52 }  // namespace debug | 
|  55 }  // namespace base |  53 }  // namespace base | 
| OLD | NEW |