Stream: git-wasmtime

Topic: wasmtime / PR #2565 Detailed debug-info (DWARF) support i...


view this post on Zulip Wasmtime GitHub notifications bot (Jan 09 2021 at 21:05):

cfallin edited PR #2565 from debug-value-labels to main:

This PR propagates "value labels" all the way from CLIF to DWARF
metadata on the emitted machine code. The key idea is as follows:

This PR also adds the new-backend variant to the gdb tests on CI.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 09 2021 at 21:44):

cfallin updated PR #2565 from debug-value-labels to main:

This PR propagates "value labels" all the way from CLIF to DWARF
metadata on the emitted machine code. The key idea is as follows:

This PR also adds the new-backend variant to the gdb tests on CI.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 10 2021 at 03:21):

cfallin updated PR #2565 from debug-value-labels to main:

This PR propagates "value labels" all the way from CLIF to DWARF
metadata on the emitted machine code. The key idea is as follows:

This PR also adds the new-backend variant to the gdb tests on CI.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 21 2021 at 22:06):

cfallin requested fitzgen, bnjbvr and yurydelendik for a review on PR #2565.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 21 2021 at 22:06):

cfallin requested fitzgen, bnjbvr and yurydelendik for a review on PR #2565.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2021 at 00:01):

cfallin updated PR #2565 from debug-value-labels to main:

This PR propagates "value labels" all the way from CLIF to DWARF
metadata on the emitted machine code. The key idea is as follows:

This PR also adds the new-backend variant to the gdb tests on CI.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2021 at 14:15):

yurydelendik submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2021 at 14:15):

yurydelendik created PR Review Comment:

ExpressionWriter has write_op_breg

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2021 at 23:00):

fitzgen submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2021 at 23:00):

fitzgen created PR Review Comment:

All of these methods could use a little, single-sentence doc comment describing what they're doing.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2021 at 23:00):

fitzgen submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2021 at 23:00):

fitzgen created PR Review Comment:

Is the worklist processing order important here (eg avoiding big O blow up)? If not, I suspect that Vec and pop would be faster than VecDeque and pop_front.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2021 at 23:00):

fitzgen created PR Review Comment:

What is remove here? Can you add comments for this struct and its members?

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2021 at 23:00):

fitzgen created PR Review Comment:

Ah is this when a collection becomes empty and can be removed from its parent collection? Maybe is_empty is a better name, or maybe just having a comment that explains would be enough.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2021 at 23:00):

fitzgen created PR Review Comment:

This will always search for stack even if reg.is_some(). This can be remedied by using .or_else(inline_the_def_of_stack_here).

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2021 at 23:00):

fitzgen created PR Review Comment:

This could be a little tighter as

if list.last().map_or(true, |last| last.end <= offset || last.loc != loc) {
    ...
}

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2021 at 23:00):

fitzgen created PR Review Comment:

What is this? I have no idea what iix means here.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2021 at 23:00):

fitzgen created PR Review Comment:

remove_keys.clear() to reuse the previous allocation

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:02):

cfallin updated PR #2565 from debug-value-labels to main:

This PR propagates "value labels" all the way from CLIF to DWARF
metadata on the emitted machine code. The key idea is as follows:

This PR also adds the new-backend variant to the gdb tests on CI.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:03):

cfallin submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:03):

cfallin created PR Review Comment:

The map_or(true, ...) form is a little hard to read for me, so I did list.last().map(...).unwrap_or(true) to be a little more explicit, and added a comment too. Happy to make things more concise, just want to avoid Haskell-like terseness that takes too much brain (for me, anyway) to decode :-)

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:03):

cfallin submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:03):

cfallin created PR Review Comment:

Nice improvement, thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:03):

cfallin submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:03):

cfallin created PR Review Comment:

Done; no, it shouldn't be important.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:04):

cfallin submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:04):

cfallin created PR Review Comment:

Changed to index; it's a regalloc.rs-ism but I should really just write it out.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:04):

cfallin submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:04):

cfallin created PR Review Comment:

Done, thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:04):

cfallin submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:04):

cfallin created PR Review Comment:

Added comment and renamed; agreed, that's more clear.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:04):

cfallin submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:04):

cfallin created PR Review Comment:

Done; sorry about the terseness!

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:45):

cfallin updated PR #2565 from debug-value-labels to main:

This PR propagates "value labels" all the way from CLIF to DWARF
metadata on the emitted machine code. The key idea is as follows:

This PR also adds the new-backend variant to the gdb tests on CI.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 00:56):

fitzgen submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2021 at 01:22):

cfallin merged PR #2565.


Last updated: Nov 22 2024 at 16:03 UTC