diff options
author | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-11-20 18:24:41 +0000 |
---|---|---|
committer | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-11-20 18:24:41 +0000 |
commit | 927cc8fa2a8300ba96e624d66bb93e6026c76512 (patch) | |
tree | 0b85de88f336a049c4a9dde64777ecf54bc15b76 /src/common/windows/pdb_source_line_writer.h | |
parent | Forward exceptions in child processes to Apple's Crash Reporter (diff) | |
download | breakpad-927cc8fa2a8300ba96e624d66bb93e6026c76512.tar.xz |
output function names for PGO-optimized cold function blocks. r=mark at http://breakpad.appspot.com/40007
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@430 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/windows/pdb_source_line_writer.h')
-rw-r--r-- | src/common/windows/pdb_source_line_writer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/windows/pdb_source_line_writer.h b/src/common/windows/pdb_source_line_writer.h index e91d0737..346d4549 100644 --- a/src/common/windows/pdb_source_line_writer.h +++ b/src/common/windows/pdb_source_line_writer.h @@ -111,8 +111,11 @@ class PDBSourceLineWriter { bool PrintLines(IDiaEnumLineNumbers *lines); // Outputs a function address and name, followed by its source line list. + // block can be the same object as function, or it can be a reference + // to a code block that is lexically part of this function, but + // resides at a separate address. // Returns true on success. - bool PrintFunction(IDiaSymbol *function); + bool PrintFunction(IDiaSymbol *function, IDiaSymbol *block); // Outputs all functions as described above. Returns true on success. bool PrintFunctions(); |