Honour the emit_all_ones_funcaddrs() settings when creating unpatched locations;

This commit is contained in:
Benjamin Bouvier
2020-04-17 18:45:25 +02:00
parent 297d64b2c0
commit a7ca37e493
3 changed files with 39 additions and 31 deletions

View File

@@ -218,7 +218,7 @@ pub enum MachTerminator<'a> {
/// A trait describing the ability to encode a MachInst into binary machine code.
pub trait MachInstEmit<O: MachSectionOutput> {
/// Emit the instruction.
fn emit(&self, code: &mut O);
fn emit(&self, code: &mut O, flags: &Flags);
}
/// The result of a `MachBackend::compile_function()` call. Contains machine