* synchronised with trunk till r40578

git-svn-id: branches/debug_eh@40579 -
This commit is contained in:
Jonas Maebe 2018-12-16 21:00:49 +00:00
commit 24c49301e3

View File

@ -117,6 +117,7 @@ interface
function emit_placeholder(def: tdef): ttypedconstplaceholder; override;
class function get_string_symofs(typ: tstringtype; winlikewidestring: boolean): pint; override;
class function get_dynarray_symofs: pint; override;
property appendingdef: boolean write fappendingdef;
end;
@ -851,6 +852,13 @@ implementation
end;
class function tllvmtai_typedconstbuilder.get_dynarray_symofs: pint;
begin
{ LLVM does not support labels in the middle of a declaration }
result:=get_dynarray_header_size;
end;
begin
ctai_typedconstbuilder:=tllvmtai_typedconstbuilder;
end.