Cranelift: refactoring of unwind info (#2289)
* factor common code * move fde/unwind emit to more abstract level * code_len -> function_size * speedup block scanning * better function_size calciulation * Rename UnwindCode enums
This commit is contained in:
@@ -94,7 +94,7 @@ pub struct Function {
|
||||
/// The instructions that mark the start (inclusive) of an epilogue in the function.
|
||||
///
|
||||
/// This is used for some ABIs to generate unwind information.
|
||||
pub epilogues_start: Vec<Inst>,
|
||||
pub epilogues_start: Vec<(Inst, Block)>,
|
||||
|
||||
/// An optional global value which represents an expression evaluating to
|
||||
/// the stack limit for this function. This `GlobalValue` will be
|
||||
|
||||
Reference in New Issue
Block a user