aboutsummaryrefslogtreecommitdiff
path: root/src/common/windows/pe_util.cc
diff options
context:
space:
mode:
authorNelson Billing <nbilling@google.com>2019-06-24 17:16:46 -0700
committerNelson Billing <nbilling@google.com>2019-06-25 00:28:04 +0000
commite1b5fef027efbd56063736ed56da73dc0caf6b92 (patch)
treee6ad03d7b5800ab7af52a78cddef050f1140ec6a /src/common/windows/pe_util.cc
parentFix breakpad client build. (diff)
downloadbreakpad-e1b5fef027efbd56063736ed56da73dc0caf6b92.tar.xz
Fix dump_syms clang Windows build.
- Put FileHeaderMachineToCpuString definition in header. - Remove extra semi-colon. Change-Id: I726ad0f73c57908576414fd828052dff09f5c51f Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1673142 Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src/common/windows/pe_util.cc')
-rw-r--r--src/common/windows/pe_util.cc21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/common/windows/pe_util.cc b/src/common/windows/pe_util.cc
index f599fb53..6fa63fa3 100644
--- a/src/common/windows/pe_util.cc
+++ b/src/common/windows/pe_util.cc
@@ -404,25 +404,4 @@ wstring GenerateDebugIdentifier(DWORD age, DWORD signature)
return wstring(identifier_string);
}
-constexpr const wchar_t* FileHeaderMachineToCpuString(WORD machine)
-{
- {
- switch (machine) {
- case IMAGE_FILE_MACHINE_I386:
- {
- return L"x86";
- }
- case IMAGE_FILE_MACHINE_IA64:
- case IMAGE_FILE_MACHINE_AMD64:
- {
- return L"x86_64";
- }
- default:
- {
- return L"unknown";
- }
- }
- }
-}
-
} // namespace google_breakpad