Skip to content

sui_v0.19.0_1671097180_ci

@amnn amnn tagged this 15 Dec 08:40
Used to investigate #5583 and other issues like it (stack overflows) by
figuring out which functions' stack frames contribute most to an
overflowing stack.

Test Plan:

Used in an LLDB debug session, e.g.:

```
$ rust-lldb ~/sui/target/debug/deps/sui-core-.... test_move_call_mutable_object_not_mutated
(lldb) command script import ~/sui/scripts/lldb_frame_sizes.py
(lldb) run
(lldb) frame-sizes
```

Example output:

```
      3248B move_compiler::hlir::translate::single_type::h95b182c918e9a004 (translate.rs:514:0)
      3808B move_compiler::hlir::translate::type_::h4478e4293e0438a5 (translate.rs:534:25)
     80608B move_compiler::hlir::translate::exp_::exp_loop::h8602552e346e1ddd (translate.rs:861:18)
      2416B move_compiler::hlir::translate::exp_::h694ef605af4c0906 (translate.rs:1032:5)
      1488B move_compiler::hlir::translate::exp::hde040490305c887f (translate.rs:811:14)
      8880B move_compiler::hlir::translate::exp_evaluation_order::hb55b4dcfc3e28fa8 (translate.rs:1387:18)
     73520B move_compiler::hlir::translate::exp_impl::h6ae8d9cffb6bda2a (translate.rs:1309:22)
     80608B move_compiler::hlir::translate::exp_::exp_loop::h8602552e346e1ddd (translate.rs:1019:29)
      2416B move_compiler::hlir::translate::exp_::h694ef605af4c0906 (translate.rs:1032:5)
      1488B move_compiler::hlir::translate::exp::hde040490305c887f (translate.rs:811:14)
     73520B move_compiler::hlir::translate::exp_impl::h6ae8d9cffb6bda2a (translate.rs:1192:24)
     80608B move_compiler::hlir::translate::exp_::exp_loop::h8602552e346e1ddd (translate.rs:1019:29)
      2416B move_compiler::hlir::translate::exp_::h694ef605af4c0906 (translate.rs:1032:5)
      1488B move_compiler::hlir::translate::exp::hde040490305c887f (translate.rs:811:14)
     73520B move_compiler::hlir::translate::exp_impl::h6ae8d9cffb6bda2a (translate.rs:1209:21)
     ... [snip] ...
```
Assets 2
Loading