cranelift codegen: pass source locations with external relocations;
This commit is contained in:
@@ -5404,6 +5404,8 @@ impl<'this, M: ModuleContext> Context<'this, M> {
|
||||
.unwrap()
|
||||
.0) as u32
|
||||
+ 2,
|
||||
// Passing a default location here, since until proven otherwise, it's not used.
|
||||
ir::SourceLoc::default(),
|
||||
binemit::Reloc::Abs8,
|
||||
name,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user