Adding an early return for a 0 size avoids this assertion:
llvm-mc: llvm/lib/MC/MCStreamer.cpp:135: virtual void llvm::MCStreamer::emitIntValue(uint64_t, unsigned int): Assertion `1 <= Size && Size <= 8 && "Invalid size"' failed.
Differential D149212
[MCParser] Add warning for zero-size .fill jacobly on Apr 25 2023, 4:02 PM. Authored by
Details
Adding an early return for a 0 size avoids this assertion: llvm-mc: llvm/lib/MC/MCStreamer.cpp:135: virtual void llvm::MCStreamer::emitIntValue(uint64_t, unsigned int): Assertion `1 <= Size && Size <= 8 && "Invalid size"' failed.
Diff Detail
|
Could you just have one message with the value instead