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

Issue 1985643004: Don't let PDBSourceLineWriter::GetSymbolFunctionName return empty function names (Closed)

Created:
4 years, 7 months ago by Ted Mielczarek
Modified:
4 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
google-breakpad-dev_googlegroups.com
Base URL:
https://chromium.googlesource.com/breakpad/breakpad.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

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 Committed: https://chromium.googlesource.com/breakpad/breakpad/+/67d5567177301d0c24303f26ad119ab7bd7fab40

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M src/common/windows/pdb_source_line_writer.cc View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
Ted Mielczarek
4 years, 7 months ago (2016-05-16 16:08:14 UTC) #1
Mark Mentovai
LGTM
4 years, 7 months ago (2016-05-16 16:27:17 UTC) #2
Ted Mielczarek
4 years, 7 months ago (2016-05-16 16:31:05 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
67d5567177301d0c24303f26ad119ab7bd7fab40 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698