OLD | NEW |
1 // Copyright (c) 2008, Google Inc. | 1 // Copyright (c) 2008, Google Inc. |
2 // All rights reserved | 2 // All rights reserved |
3 // Redistribution and use in source and binary forms, with or without | 3 // Redistribution and use in source and binary forms, with or without |
4 // modification, are permitted provided that the following conditions are | 4 // modification, are permitted provided that the following conditions are |
5 // met: | 5 // met: |
6 // | 6 // |
7 // * Redistributions of source code must retain the above copyright | 7 // * Redistributions of source code must retain the above copyright |
8 // notice, this list of conditions and the following disclaimer. | 8 // notice, this list of conditions and the following disclaimer. |
9 // * Redistributions in binary form must reproduce the above | 9 // * Redistributions in binary form must reproduce the above |
10 // copyright notice, this list of conditions and the following disclaimer | 10 // copyright notice, this list of conditions and the following disclaimer |
(...skipping 15 matching lines...) Expand all Loading... |
26 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 26 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
27 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 | 28 |
29 // breakpad_nlist.h | 29 // breakpad_nlist.h |
30 // | 30 // |
31 // This file is meant to provide a header for clients of the modified | 31 // This file is meant to provide a header for clients of the modified |
32 // nlist function implemented to work on 64-bit. | 32 // nlist function implemented to work on 64-bit. |
33 | 33 |
34 #ifndef CLIENT_MAC_HANDLER_BREAKPAD_NLIST_H__ | 34 #ifndef CLIENT_MAC_HANDLER_BREAKPAD_NLIST_H__ |
35 | 35 |
36 typedef struct nlist_64 breakpad_nlist; | 36 #include <mach/machine.h> |
37 | 37 |
38 int | 38 int |
39 breakpad_nlist_64(const char *name, | 39 breakpad_nlist(const char *name, |
40 breakpad_nlist *list, | 40 struct nlist *list, |
41 const char **symbolNames); | 41 const char **symbolNames, |
| 42 cpu_type_t cpu_type); |
| 43 int |
| 44 breakpad_nlist(const char *name, |
| 45 struct nlist_64 *list, |
| 46 const char **symbolNames, |
| 47 cpu_type_t cpu_type); |
42 | 48 |
43 #endif /* CLIENT_MAC_HANDLER_BREAKPAD_NLIST_H__ */ | 49 #endif /* CLIENT_MAC_HANDLER_BREAKPAD_NLIST_H__ */ |
OLD | NEW |