Multiple buildbots are failing to cast ubig32_t (no conversion from 'const llvm::support::ubig32_t' to 'const llvm::support::ulittle32_t) so i'm removing it.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Support/ARMAttributeParser.cpp | ||
---|---|---|
689 | If you replace the ternary operator with an if - else pair - then MSVC would be happy with the casts and you keep endian support |
lib/Support/ARMAttributeParser.cpp | ||
---|---|---|
689 | ah, ok! thanks! |
Comment Actions
can we just use support::endian::read32le and support::endian::read32be instead of the casting magic? They do the same thing but should have no problem with implicit conversions in a ternary expression.
Comment Actions
Now using read32le and read32be to access memory. Also included a small fix for attribute printing.
Comment Actions
removed the extra bug fix and will upload as separate patch. clang-formatted the remaining.
This seems unnecessary - or at least is a different problem.