OLD | NEW |
1 // -*- mode: c++ -*- | 1 // -*- mode: c++ -*- |
2 | 2 |
3 // Copyright (c) 2010 Google Inc. | 3 // Copyright (c) 2010 Google Inc. |
4 // All rights reserved. | 4 // All rights reserved. |
5 // | 5 // |
6 // Redistribution and use in source and binary forms, with or without | 6 // Redistribution and use in source and binary forms, with or without |
7 // modification, are permitted provided that the following conditions are | 7 // modification, are permitted provided that the following conditions are |
8 // met: | 8 // met: |
9 // | 9 // |
10 // * Redistributions of source code must retain the above copyright | 10 // * Redistributions of source code must retain the above copyright |
(...skipping 26 matching lines...) Expand all Loading... |
37 | 37 |
38 #ifndef COMMON_LINUX_MODULE_H__ | 38 #ifndef COMMON_LINUX_MODULE_H__ |
39 #define COMMON_LINUX_MODULE_H__ | 39 #define COMMON_LINUX_MODULE_H__ |
40 | 40 |
41 #include <iostream> | 41 #include <iostream> |
42 #include <map> | 42 #include <map> |
43 #include <set> | 43 #include <set> |
44 #include <string> | 44 #include <string> |
45 #include <vector> | 45 #include <vector> |
46 | 46 |
| 47 #include "common/using_std_string.h" |
47 #include "google_breakpad/common/breakpad_types.h" | 48 #include "google_breakpad/common/breakpad_types.h" |
48 | 49 |
49 namespace google_breakpad { | 50 namespace google_breakpad { |
50 | 51 |
51 using std::set; | 52 using std::set; |
52 using std::string; | |
53 using std::vector; | 53 using std::vector; |
54 using std::map; | 54 using std::map; |
55 | 55 |
56 // A Module represents the contents of a module, and supports methods | 56 // A Module represents the contents of a module, and supports methods |
57 // for adding information produced by parsing STABS or DWARF data | 57 // for adding information produced by parsing STABS or DWARF data |
58 // --- possibly both from the same file --- and then writing out the | 58 // --- possibly both from the same file --- and then writing out the |
59 // unified contents as a Breakpad-format symbol file. | 59 // unified contents as a Breakpad-format symbol file. |
60 class Module { | 60 class Module { |
61 public: | 61 public: |
62 // The type of addresses and sizes in a symbol table. | 62 // The type of addresses and sizes in a symbol table. |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 vector<StackFrameEntry *> stack_frame_entries_; | 312 vector<StackFrameEntry *> stack_frame_entries_; |
313 | 313 |
314 // The module owns all the externs that have been added to it; | 314 // The module owns all the externs that have been added to it; |
315 // destroying the module frees the Externs these point to. | 315 // destroying the module frees the Externs these point to. |
316 ExternSet externs_; | 316 ExternSet externs_; |
317 }; | 317 }; |
318 | 318 |
319 } // namespace google_breakpad | 319 } // namespace google_breakpad |
320 | 320 |
321 #endif // COMMON_LINUX_MODULE_H__ | 321 #endif // COMMON_LINUX_MODULE_H__ |
OLD | NEW |