Explorar o código

* add llvm "weak" flag for tcalo_weak

git-svn-id: trunk@32916 -
Jonas Maebe %!s(int64=9) %!d(string=hai) anos
pai
achega
4aba875c34
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;