This is an archive of the discontinued LLVM Phabricator instance.

minidump: Rename some architecture constants
ClosedPublic

Authored by labath on Oct 21 2019, 3:57 PM.

Details

Summary

The architecture enum contains two kinds of contstants: the "official" ones
defined by Microsoft, and unofficial constants added by breakpad to cover the
architectures not described by the first ones.

Up until now, there was no big need to differentiate between the two. However,
now that Microsoft has defined
https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/ns-sysinfoapi-system_info
a constant for ARM64, we have a name clash.

This patch renames all breakpad-defined constants with to include the prefix
"BP_". This frees up the name "ARM64", which I'll re-introduce with the new
"official" value in a follow-up patch.

Diff Detail

Event Timeline

labath created this revision.Oct 21 2019, 3:57 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 21 2019, 3:57 PM
amccarth accepted this revision.Oct 25 2019, 3:18 PM
This revision is now accepted and ready to land.Oct 25 2019, 3:18 PM
This revision was automatically updated to reflect the committed changes.