HomePhabricator

[lld-macho] Fix PAGEZERO=4GB errors on Windows by ensuring enum is uint64_t

Authored by int3 on Jun 2 2020, 3:22 PM.

Description

[lld-macho] Fix PAGEZERO=4GB errors on Windows by ensuring enum is uint64_t

It appears that MSVC doesn't resize the enum properly to fit the
constants.

Details

Committed
int3Jun 2 2020, 3:24 PM
Parents
rG153a24ab0fc5: Undo initialization of TRI in CGP as this is unconditionally initialized later.
Branches
Unknown
Tags
Unknown