Aarch64: always generate the CFA directive indicating no pointer signing

This commit is contained in:
Benjamin Bouvier
2021-09-01 17:53:14 +02:00
parent fb94b81538
commit 85ec11acb9
3 changed files with 19 additions and 3 deletions

View File

@@ -143,7 +143,10 @@ mod tests {
_ => panic!("expected unwind information"),
};
assert_eq!(format!("{:?}", fde), "FrameDescriptionEntry { address: Constant(4321), length: 16, lsda: None, instructions: [] }");
assert_eq!(
format!("{:?}", fde),
"FrameDescriptionEntry { address: Constant(4321), length: 16, lsda: None, instructions: [(0, ValExpression(Register(34), Expression { operations: [Simple(DwOp(48))] }))] }"
);
}
fn create_multi_return_function(call_conv: CallConv) -> Function {