llvm-project/llvm/tools/obj2yaml
Marcelo Juchem dfb213c2df Fix ambiguous overload build failure
LLVM (llvmorg-14-init) under Debian sid using latest gcc (Debian
10.3.0-9) 10.3.0 fails due to ambiguous overload on operators == and !=:

/root/src/llvm/src/llvm/tools/obj2yaml/elf2yaml.cpp:212:22:
error: ambiguous overload for 'operator!='
(operand types are 'llvm::ELFYAML::ELF_SHF' and 'int')

/root/src/llvm/src/llvm/tools/obj2yaml/elf2yaml.cpp:204:32:
error: ambiguous overload for 'operator!='
(operand types are 'const llvm::yaml::Hex64' and 'int')

/root/src/llvm/src/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp:629:35:
error: ambiguous overload for 'operator=='
(operand types are 'const uint64_t' {aka 'const long unsigned int'} and
'llvm::Register')

Reviewed by: StephenTozer, jmorse, Higuoxing

Differential Revision: https://reviews.llvm.org/D109534
2021-10-01 14:19:57 +01:00
..
CMakeLists.txt [yaml2obj][obj2yaml] - Teach tools to work with regular archives. 2020-10-28 15:27:11 +03:00
archive2yaml.cpp [yaml2obj][obj2yaml] - Teach tools to work with regular archives. 2020-10-28 15:27:11 +03:00
coff2yaml.cpp [yaml2obj][COFF] Allow variable number of directories 2021-09-09 11:16:56 +01:00
dwarf2yaml.cpp [llvm] Use llvm::find_if (NFC) 2021-01-11 18:48:06 -08:00
elf2yaml.cpp Fix ambiguous overload build failure 2021-10-01 14:19:57 +01:00
macho2yaml.cpp [yaml2obj][MachO] Rename PayloadString to Content 2021-07-26 09:04:51 -07:00
minidump2yaml.cpp [obj2yaml] - Cleanup error reporting (remove Error.cpp/.h files) 2020-08-26 14:25:11 +03:00
obj2yaml.cpp [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
obj2yaml.h [yaml2obj][obj2yaml] - Teach tools to work with regular archives. 2020-10-28 15:27:11 +03:00
wasm2yaml.cpp [WebAssembly] Allow import and export of TLS symbols between DSOs 2021-09-14 06:47:37 -07:00
xcoff2yaml.cpp [obj2yaml][XCOFF] Dump sections 2021-09-15 05:16:33 +00:00