mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-04-29 00:52:16 +00:00
Added more missing doc comments.
This commit is contained in:
parent
040d6ef388
commit
6bf5f10273
@ -132,46 +132,73 @@ pub enum RelocationEntry {
|
|||||||
|
|
||||||
/// Function table index.
|
/// Function table index.
|
||||||
TableIndexSleb {
|
TableIndexSleb {
|
||||||
|
/// Offset of the value to rewrite.
|
||||||
offset: u32,
|
offset: u32,
|
||||||
|
|
||||||
|
/// Index of the function symbol in the symbol table.
|
||||||
index: u32,
|
index: u32,
|
||||||
},
|
},
|
||||||
|
|
||||||
/// Function table index.
|
/// Function table index.
|
||||||
TableIndexI32 {
|
TableIndexI32 {
|
||||||
|
/// Offset of the value to rewrite.
|
||||||
offset: u32,
|
offset: u32,
|
||||||
|
|
||||||
|
/// Index of the function symbol in the symbol table.
|
||||||
index: u32,
|
index: u32,
|
||||||
},
|
},
|
||||||
|
|
||||||
/// Linear memory index.
|
/// Linear memory index.
|
||||||
MemoryAddressLeb {
|
MemoryAddressLeb {
|
||||||
|
/// Offset of the value to rewrite.
|
||||||
offset: u32,
|
offset: u32,
|
||||||
|
|
||||||
|
/// Index of the data symbol in the symbol table.
|
||||||
index: u32,
|
index: u32,
|
||||||
|
|
||||||
|
/// Addend to add to the address.
|
||||||
addend: i32,
|
addend: i32,
|
||||||
},
|
},
|
||||||
|
|
||||||
/// Linear memory index.
|
/// Linear memory index.
|
||||||
MemoryAddressSleb {
|
MemoryAddressSleb {
|
||||||
|
/// Offset of the value to rewrite.
|
||||||
offset: u32,
|
offset: u32,
|
||||||
|
|
||||||
|
/// Index of the data symbol in the symbol table.
|
||||||
index: u32,
|
index: u32,
|
||||||
|
|
||||||
|
/// Addend to add to the address.
|
||||||
addend: i32,
|
addend: i32,
|
||||||
},
|
},
|
||||||
|
|
||||||
/// Linear memory index.
|
/// Linear memory index.
|
||||||
MemoryAddressI32 {
|
MemoryAddressI32 {
|
||||||
|
/// Offset of the value to rewrite.
|
||||||
offset: u32,
|
offset: u32,
|
||||||
|
|
||||||
|
/// Index of the data symbol in the symbol table.
|
||||||
index: u32,
|
index: u32,
|
||||||
|
|
||||||
|
/// Addend to add to the address.
|
||||||
addend: i32,
|
addend: i32,
|
||||||
},
|
},
|
||||||
|
|
||||||
/// Type table index.
|
/// Type table index.
|
||||||
TypeIndexLeb {
|
TypeIndexLeb {
|
||||||
|
/// Offset of the value to rewrite.
|
||||||
offset: u32,
|
offset: u32,
|
||||||
|
|
||||||
|
/// Index of the type used.
|
||||||
index: u32,
|
index: u32,
|
||||||
},
|
},
|
||||||
|
|
||||||
/// Global index.
|
/// Global index.
|
||||||
GlobalIndexLeb {
|
GlobalIndexLeb {
|
||||||
|
/// Offset of the value to rewrite.
|
||||||
offset: u32,
|
offset: u32,
|
||||||
|
|
||||||
|
/// Index of the global symbol in the symbol table.
|
||||||
index: u32,
|
index: u32,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user