HomePhabricator

Fixed the build failure of yaml2obj in XCOFFEmitter.cpp:

Authored by Esme on Jun 6 2021, 10:45 PM.

Description

Fixed the build failure of yaml2obj in XCOFFEmitter.cpp:

error: ambiguous overload for 'operator=='
(operand types are 'llvm::yaml::Hex16' and 'llvm::XCOFF::MagicNumber')
   Is64Bit = Obj.Header.Magic == XCOFF::XCOFF64;

Details

Committed
EsmeJun 6 2021, 10:45 PM
Parents
rG50bb1b930dbc: [yaml2obj] Initial the support of yaml2obj for 32-bit XCOFF.
Branches
Unknown
Tags
Unknown