diff options
author | Ted Mielczarek <ted@mielczarek.org> | 2016-05-16 12:30:59 -0400 |
---|---|---|
committer | Ted Mielczarek <ted@mielczarek.org> | 2016-05-16 12:30:59 -0400 |
commit | 67d5567177301d0c24303f26ad119ab7bd7fab40 (patch) | |
tree | bca641ba703cb56f783e839be8f4024a330b051d /src/common/dwarf/line_state_machine.h | |
parent | Revert "Write adjusted range back to module" (diff) | |
download | breakpad-67d5567177301d0c24303f26ad119ab7bd7fab40.tar.xz |
Don't let PDBSourceLineWriter::GetSymbolFunctionName return empty function names
It's possible for `IDiaSymbol::get_name` to return S_OK and provide
and empty string. I haven't figured out the exact root cause yet
(the symbols in question are coming from the Rust standard library),
but FUNC lines with missing function names break the processor and
so we should never do it. This change makes it output "<name omitted>"
which matches the behavior of the DWARF dumping code.
R=mark@chromium.org
BUG=https://bugzilla.mozilla.org/show_bug.cgi?id=1272278
Review URL: https://codereview.chromium.org/1985643004 .
Diffstat (limited to 'src/common/dwarf/line_state_machine.h')
0 files changed, 0 insertions, 0 deletions