Ver Fonte

* add llvm "weak" flag for tcalo_weak

git-svn-id: trunk@32916 -
Jonas Maebe há 9 anos atrás
pai
commit
4aba875c34
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      compiler/llvm/nllvmtcon.pas

+ 2 - 0
compiler/llvm/nllvmtcon.pas

@@ -196,6 +196,8 @@ implementation
            tcalo_vectorized_dead_strip_item,
            tcalo_vectorized_dead_strip_end]*options)<>[] then
         include(decl.flags,ldf_vectorized);
+      if tcalo_weak in options then
+        include(decl.flags,ldf_weak);
       { TODO: tcalo_no_dead_strip: add to @llvm.user meta-variable }
       newasmlist.concat(decl);
       fasmlist:=newasmlist;