mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-08 03:56:27 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user