diff --git a/compiler/llvm/aasmllvmmetadata.pas b/compiler/llvm/aasmllvmmetadata.pas index 00ab239ef4..1443dcf02e 100644 --- a/compiler/llvm/aasmllvmmetadata.pas +++ b/compiler/llvm/aasmllvmmetadata.pas @@ -47,6 +47,7 @@ interface DITemplateValueParameter, DINamespace, DIGlobalVariable, + DIGlobalVariableExpression, DISubprogram, DILexicalBlock, DILexicalBlockFile, @@ -399,6 +400,7 @@ implementation case fkind of tspecialisedmetadatanodekind.DICompileUnit, tspecialisedmetadatanodekind.DISubprogram, + tspecialisedmetadatanodekind.DIGlobalVariable, tspecialisedmetadatanodekind.DICompositeType, tspecialisedmetadatanodekind.DILexicalBlock, tspecialisedmetadatanodekind.DIMacro: @@ -411,7 +413,7 @@ implementation tspecialisedmetadatanodekind.DITemplateTypeParameter, tspecialisedmetadatanodekind.DITemplateValueParameter, tspecialisedmetadatanodekind.DINamespace, - tspecialisedmetadatanodekind.DIGlobalVariable, + tspecialisedmetadatanodekind.DIGlobalVariableExpression, tspecialisedmetadatanodekind.DILexicalBlockFile, tspecialisedmetadatanodekind.DILocation, tspecialisedmetadatanodekind.DILocalVariable,