diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-03-27 16:53:12 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-03-27 16:53:57 +0000 |
| commit | 4b80941ae36ce0e49ecbb772872108e4808b2c4a (patch) | |
| tree | 82bb932ed0430acfe9c300174c09d07a63d19f08 /src/debuginfo/emit.rs | |
| parent | f086e7abaf2fc954a2801231bfe3aa4508b8f424 (diff) | |
Add debuginfo for statics
Most types are still unimplemented and get a placeholder byte array instead.
Diffstat (limited to 'src/debuginfo/emit.rs')
| -rw-r--r-- | src/debuginfo/emit.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/debuginfo/emit.rs b/src/debuginfo/emit.rs index d376766966d..36af7d4450d 100644 --- a/src/debuginfo/emit.rs +++ b/src/debuginfo/emit.rs @@ -15,7 +15,6 @@ pub(super) fn address_for_func(func_id: FuncId) -> Address { Address::Symbol { symbol: symbol as usize, addend: 0 } } -#[allow(dead_code)] pub(super) fn address_for_data(data_id: DataId) -> Address { let symbol = data_id.as_u32(); assert!(symbol & 1 << 31 == 0); |
