anza-xyz / move

Move compiler targeting llvm supported backends
https://discord.gg/wFgfjG9J
Apache License 2.0
107 stars 32 forks source link

Dwarf test #387

Closed jcivlin closed 9 months ago

jcivlin commented 9 months ago

Added dwarf_tests.rs.

Also added macro macro_rules! to_cstring, since usage of the pointer and len of a local CString in a call was incorrect.

Since .dbg_info contains the absolute paths of source names, the content of .dbg_info becomes host sensitive. Test_common.rs was updated with code that helps to mask out this sensitivity before comparison of .actual vs .expected.

ksolana commented 9 months ago

can we rebase to less number of commits. some of the commits (at least the commit messages) looks like WIP towards a subsequent commit.

jcivlin commented 9 months ago

can we rebase to less number of commits. some of the commits (at least the commit messages) looks like WIP towards a subsequent commit.

Usually I squash them all in the merge

jcivlin commented 9 months ago

See #370 instead