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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 }; | 267 }; |
268 | 268 |
269 // A map from filenames to File structures. The map's keys are | 269 // A map from filenames to File structures. The map's keys are |
270 // pointers to the Files' names. | 270 // pointers to the Files' names. |
271 typedef map<const string *, File *, CompareStringPtrs> FileByNameMap; | 271 typedef map<const string *, File *, CompareStringPtrs> FileByNameMap; |
272 | 272 |
273 // The module owns all the files and functions that have been added | 273 // The module owns all the files and functions that have been added |
274 // to it; destroying the module frees the Files and Functions these | 274 // to it; destroying the module frees the Files and Functions these |
275 // point to. | 275 // point to. |
276 FileByNameMap files_; // This module's source files. | 276 FileByNameMap files_; // This module's source files. |
277 set<Function *, FunctionCompare> functions_; // This module's functions. | 277 typedef set<Function *, FunctionCompare> FunctionSet; |
| 278 FunctionSet functions_; // This module's functions. |
278 | 279 |
279 // The module owns all the call frame info entries that have been | 280 // The module owns all the call frame info entries that have been |
280 // added to it. | 281 // added to it. |
281 vector<StackFrameEntry *> stack_frame_entries_; | 282 vector<StackFrameEntry *> stack_frame_entries_; |
282 }; | 283 }; |
283 | 284 |
284 } // namespace google_breakpad | 285 } // namespace google_breakpad |
285 | 286 |
286 #endif // COMMON_LINUX_MODULE_H__ | 287 #endif // COMMON_LINUX_MODULE_H__ |
OLD | NEW |