* write the .globaltype directive and the imports in the beginning of the

assembly file, because that appears to be required by llvm-mc from git
This commit is contained in:
Nikolay Nikolov 2021-09-17 23:40:55 +03:00
parent bee87583de
commit d8665f8a51

View File

@ -153,10 +153,10 @@ implementation
procedure TLLVMMachineCodePlaygroundAssembler.WriteAsmList;
begin
inherited;
{ print all global procedures/functions }
writer.AsmWriteLn(#9'.globaltype'#9+STACK_POINTER_SYM+', i32');
{ print all global procedures/functions }
WriteImports;
inherited;
end;