Stream: git-wasmtime

Topic: wasmtime / PR #2104 test_debug_parse_expressions: improve...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:06):

ggreif opened PR #2104 from main to main:

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:09):

ggreif updated PR #2104 from main to main:

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:12):

ggreif edited PR #2104 from main to main:

Provide automatic translation to opcodes from DW_OP_* identifiers. They are looked up from gimli-rs.
Since ` is not contained in gimli-rs` yet, we take care of manually translating it.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:12):

ggreif edited PR #2104 from main to main:

Provide automatic translation to opcodes from DW_OP_* identifiers. They are looked up from gimli.
Since ` is not contained in gimli` yet, we take care of manually translating it.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:13):

ggreif edited PR #2104 from main to main:

Provide automatic translation to opcodes from DW_OP_* identifiers. They are looked up from gimli.
Since ` is not contained in gimli` yet, we take care of manually translating it.

Since the let e = definitions now contain the same information as the separate comments previously, we can zap the comments now.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:14):

ggreif submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:14):

ggreif created PR Review Comment:

use gimli:: here? And revert line 603?

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:14):

ggreif edited PR Review Comment.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:16):

ggreif submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:16):

ggreif created PR Review Comment:

Allow DW_OP_WASM_location 0x0 20 and other multi-arg opcodes?

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:23):

ggreif updated PR #2104 from main to main:

Provide automatic translation to opcodes from DW_OP_* identifiers. They are looked up from gimli.
Since ` is not contained in gimli` yet, we take care of manually translating it.

Since the let e = definitions now contain the same information as the separate comments previously, we can zap the comments now.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:43):

ggreif edited PR Review Comment.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:44):

ggreif edited PR #2104 from main to main:

Provide automatic translation to opcodes from DW_OP_* identifiers. They are looked up from gimli.
Since DW_OP_WASM_location is not contained in gimli yet, we take care of manually translating it.

Since the let e = definitions now contain the same information as the separate comments previously, we can zap the comments now.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 12:45):

ggreif edited PR #2104 from main to main:

Provide automatic translation to opcodes from DW_OP_* identifiers. They are looked up from gimli.
Since DW_OP_WASM_location is not contained in gimli yet, we take care of manually translating it.

Since the let e = definitions now contain the same information as the separate comments previously, we can zap the comments now.

The macros could be improved to handle multi-argument opcodes.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 14:51):

ggreif updated PR #2104 from main to main:

Provide automatic translation to opcodes from DW_OP_* identifiers. They are looked up from gimli.
Since DW_OP_WASM_location is not contained in gimli yet, we take care of manually translating it.

Since the let e = definitions now contain the same information as the separate comments previously, we can zap the comments now.

The macros could be improved to handle multi-argument opcodes.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 19:22):

yurydelendik submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 19:22):

yurydelendik created PR Review Comment:

yes

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 19:27):

yurydelendik submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 19:27):

yurydelendik created PR Review Comment:

Maybe. But I would limit first arg too (e.g. similar to https://yurydelendik.github.io/webassembly-dwarf/#DWARF-expressions-and-location-descriptions): DW_OP_WASM_location local .. or DW_OP_WASM_location 0x1 ..

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 19:32):

ggreif updated PR #2104 from main to main:

Provide automatic translation to opcodes from DW_OP_* identifiers. They are looked up from gimli.
Since DW_OP_WASM_location is not contained in gimli yet, we take care of manually translating it.

Since the let e = definitions now contain the same information as the separate comments previously, we can zap the comments now.

The macros could be improved to handle multi-argument opcodes.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 19:33):

ggreif submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 19:33):

ggreif created PR Review Comment:

Done.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 19:35):

ggreif submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 19:35):

ggreif created PR Review Comment:

I guess we should get fancy in a follow-up. This is testing code, anyway. (But it was useful to learn a macro technique.)

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 19:35):

ggreif has marked PR #2104 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 19:35):

ggreif requested yurydelendik for a review on PR #2104.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 07 2020 at 07:28):

ggreif updated PR #2104 from main to main:

Provide automatic translation to opcodes from DW_OP_* identifiers. They are looked up from gimli.
Since DW_OP_WASM_location is not contained in gimli yet, we take care of manually translating it.

Since the let e = definitions now contain the same information as the separate comments previously, we can zap the comments now.

The macros could be improved to handle multi-argument opcodes.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 07 2020 at 18:24):

yurydelendik submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 07 2020 at 18:25):

yurydelendik merged PR #2104.


Last updated: Nov 22 2024 at 16:03 UTC