| OLD | NEW |
| 1 // Copyright (c) 2006, Google Inc. | 1 // Copyright (c) 2006, Google Inc. |
| 2 // All rights reserved. | 2 // All rights reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
| 9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
| 10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 _END_GOOGLE_NAMESPACE_ | 93 _END_GOOGLE_NAMESPACE_ |
| 94 | 94 |
| 95 #if defined(__ELF__) | 95 #if defined(__ELF__) |
| 96 | 96 |
| 97 #include <dlfcn.h> | 97 #include <dlfcn.h> |
| 98 #include <elf.h> | 98 #include <elf.h> |
| 99 #include <errno.h> | 99 #include <errno.h> |
| 100 #include <fcntl.h> | 100 #include <fcntl.h> |
| 101 #include <limits.h> | 101 #include <limits.h> |
| 102 #include <link.h> // For ElfW() macro. | |
| 103 #include <stdint.h> | 102 #include <stdint.h> |
| 104 #include <stdio.h> | 103 #include <stdio.h> |
| 105 #include <stdlib.h> | 104 #include <stdlib.h> |
| 106 #include <stddef.h> | 105 #include <stddef.h> |
| 107 #include <string.h> | 106 #include <string.h> |
| 108 #include <sys/stat.h> | 107 #include <sys/stat.h> |
| 109 #include <sys/types.h> | 108 #include <sys/types.h> |
| 110 #include <unistd.h> | 109 #include <unistd.h> |
| 111 | 110 |
| 112 #include "symbolize.h" | 111 #include "symbolize.h" |
| (...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 672 | 671 |
| 673 // TODO: Support other environments. | 672 // TODO: Support other environments. |
| 674 bool Symbolize(void *pc, char *out, int out_size) { | 673 bool Symbolize(void *pc, char *out, int out_size) { |
| 675 assert(0); | 674 assert(0); |
| 676 return false; | 675 return false; |
| 677 } | 676 } |
| 678 | 677 |
| 679 _END_GOOGLE_NAMESPACE_ | 678 _END_GOOGLE_NAMESPACE_ |
| 680 | 679 |
| 681 #endif | 680 #endif |
| OLD | NEW |