mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 01:04:19 +01:00
Don't output FUNC lines for 0-length functions (#139). r=bryner
http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/c684520587356ec3 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@129 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
d128f5f6af
commit
6bc866cc82
@ -151,6 +151,11 @@ bool PDBSourceLineWriter::PrintFunction(IDiaSymbol *function) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (length == 0) {
|
||||
// Silently ignore zero-length functions, which can infrequently pop up.
|
||||
return true;
|
||||
}
|
||||
|
||||
CComBSTR name;
|
||||
int stack_param_size;
|
||||
if (!GetSymbolFunctionName(function, &name, &stack_param_size)) {
|
||||
|
Loading…
Reference in New Issue
Block a user