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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 // Line number NUMBER in LINE_FILE, of length LENGTH, includes code | 195 // Line number NUMBER in LINE_FILE, of length LENGTH, includes code |
196 // covered by no function. | 196 // covered by no function. |
197 virtual void UncoveredLine(const Module::Line &line); | 197 virtual void UncoveredLine(const Module::Line &line); |
198 | 198 |
199 // The DW_TAG_subprogram DIE at OFFSET has no name specified directly | 199 // The DW_TAG_subprogram DIE at OFFSET has no name specified directly |
200 // in the DIE, nor via a DW_AT_specification or DW_AT_abstract_origin | 200 // in the DIE, nor via a DW_AT_specification or DW_AT_abstract_origin |
201 // link. | 201 // link. |
202 virtual void UnnamedFunction(uint64 offset); | 202 virtual void UnnamedFunction(uint64 offset); |
203 | 203 |
204 // __cxa_demangle() failed to demangle INPUT. | 204 // __cxa_demangle() failed to demangle INPUT. |
205 virtual void DemangleError(const string &input, int error); | 205 virtual void DemangleError(const string &input); |
206 | 206 |
207 // The DW_FORM_ref_addr at OFFSET to TARGET was not handled because | 207 // The DW_FORM_ref_addr at OFFSET to TARGET was not handled because |
208 // FilePrivate did not retain the inter-CU specification data. | 208 // FilePrivate did not retain the inter-CU specification data. |
209 virtual void UnhandledInterCUReference(uint64 offset, uint64 target); | 209 virtual void UnhandledInterCUReference(uint64 offset, uint64 target); |
210 | 210 |
211 uint64 cu_offset() const { | 211 uint64 cu_offset() const { |
212 return cu_offset_; | 212 return cu_offset_; |
213 } | 213 } |
214 | 214 |
215 protected: | 215 protected: |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 | 311 |
312 // The line numbers we have seen thus far. We accumulate these here | 312 // The line numbers we have seen thus far. We accumulate these here |
313 // during parsing. Then, in Finish, we call AssignLinesToFunctions | 313 // during parsing. Then, in Finish, we call AssignLinesToFunctions |
314 // to dole them out to the appropriate functions. | 314 // to dole them out to the appropriate functions. |
315 vector<Module::Line> lines_; | 315 vector<Module::Line> lines_; |
316 }; | 316 }; |
317 | 317 |
318 } // namespace google_breakpad | 318 } // namespace google_breakpad |
319 | 319 |
320 #endif // COMMON_LINUX_DWARF_CU_TO_MODULE_H__ | 320 #endif // COMMON_LINUX_DWARF_CU_TO_MODULE_H__ |
OLD | NEW |