Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(373)

Issue 181001: Fix PDBSourceLineWriter::GetModuleInfo's CPU detection (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 2 months ago by Ted Mielczarek
Modified:
14 years, 2 months ago
Reviewers:
mochalatte
CC:
google-breakpad-dev_googlegroups.com
Visibility:
Public.

Description

This fixes issue 370. PDBSourceLineWriter::GetModuleInfo is using get_platform
to try to determine the target CPU, but it's doing it wrong (as explained in
that issue). We should be using get_machineType, but I had to figure out what
the heck that method was doing, because the docs are wrong. This patch fixes it
to work properly. Also, we should probably add some unit tests for the Win32
dumper.

Patch Set 1 #

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

Messages

Total messages: 2
Ted Mielczarek
14 years, 2 months ago #1
mochalatte
14 years, 2 months ago #2
LGTM
gotta love it when the official docs are wrong
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted