WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit ce779815 authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano
Browse files

Fixed name handling bugs on aarch64

parent 352a83d7
......@@ -1961,7 +1961,7 @@ impl CodeGenerator for ASMCodeGen {
let func_end_sym = mangle_name(func_end.clone());
self.add_asm_symbolic(directive_globl(func_end_sym.clone()));
self.add_asm_symbolic(format!("{}:", func_end_sym.clone()));
self.add_asm_symbolic(format!(".size {}, {}-{}", func_symbol.clone(), func_end.clone(), func_symbol.clone()));
self.add_asm_symbolic(format!(".size {}, {}-{}", func_symbol.clone(), func_end_sym.clone(), func_symbol.clone()));
self.cur.as_mut().unwrap().control_flow_analysis();
......
......@@ -3690,10 +3690,12 @@ impl <'a> InstructionSelection {
self.backend.emit_ldr_callee_saved(reg, &loc);
}
// frame shrink
self.backend.emit_frame_shrink();
//self.backend.emit_frame_shrink();
// Pop the link register and frame pointers
// Pop the frame record
self.backend.emit_mov(&SP, &FP);
self.backend.emit_pop_pair(&FP, &LR, &SP);
// Note: the stack pointer should now be what it was when the function was called
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment