Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/google_breakpad/processor/code_module.h

Issue 2060663002: Server-side workaround to handle overlapping modules. (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Fix whitespace. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual string debug_identifier() const = 0; 79 virtual string debug_identifier() const = 0;
80 80
81 // A human-readable representation of the code module's version. Empty on 81 // A human-readable representation of the code module's version. Empty on
82 // error. 82 // error.
83 virtual string version() const = 0; 83 virtual string version() const = 0;
84 84
85 // Creates a new copy of this CodeModule object, which the caller takes 85 // Creates a new copy of this CodeModule object, which the caller takes
86 // ownership of. The new CodeModule may be of a different concrete class 86 // ownership of. The new CodeModule may be of a different concrete class
87 // than the CodeModule being copied, but will behave identically to the 87 // than the CodeModule being copied, but will behave identically to the
88 // copied CodeModule as far as the CodeModule interface is concerned. 88 // copied CodeModule as far as the CodeModule interface is concerned.
89 virtual const CodeModule* Copy() const = 0; 89 virtual CodeModule* Copy() const = 0;
90
91 // Getter and setter for shrink_down_delta. This is used when the address
92 // range for a module is shrunk down due to address range conflicts with
93 // other modules. The base_address and size fields are not updated and they
94 // should always reflect the original values (reported in the minidump).
95 virtual uint64_t shrink_down_delta() const = 0;
96 virtual void SetShrinkDownDelta(uint64_t shrink_down_delta) = 0;
90 }; 97 };
91 98
92 } // namespace google_breakpad 99 } // namespace google_breakpad
93 100
94 #endif // GOOGLE_BREAKPAD_PROCESSOR_CODE_MODULE_H__ 101 #endif // GOOGLE_BREAKPAD_PROCESSOR_CODE_MODULE_H__
OLDNEW
« no previous file with comments | « src/client/linux/minidump_writer/minidump_writer_unittest.cc ('k') | src/google_breakpad/processor/code_modules.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698