[llvm] r296190 - [WebAssembly] Basic support for Wasm object file encoding.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 14:13:53 PST 2018


Dan Gohman via llvm-commits <llvm-commits at lists.llvm.org> writes:

> Author: djg
> Date: Fri Feb 24 17:18:00 2017
> New Revision: 296190
>
> URL: http://llvm.org/viewvc/llvm-project?rev=296190&view=rev
> Log:
> [WebAssembly] Basic support for Wasm object file encoding.
>
> With the "wasm32-unknown-unknown-wasm" triple, this allows writing out
> simple wasm object files, and is another step in a larger series toward
> migrating from ELF to general wasm object support. Note that this code
> and the binary format itself is still experimental.
>

...

> +          } else if (const MCFillFragment *Fill =
> +                                              dyn_cast<MCFillFragment>(&Frag)) {
> +            DataBytes.insert(DataBytes.end(), Size, Fill->getValue());
> +          }


This part is not tested. All tests pass on trunk if I delete the
MCFillFragment case.

I am about to update the API and will try to update this part correctly,
but it would be nice to add a test of delete the code if it is somehow
dead now.

Cheers,
Rafael


More information about the llvm-commits mailing list