瀏覽代碼

* add llvm "weak" flag for tcalo_weak

git-svn-id: trunk@32916 -
Jonas Maebe 9 年之前
父節點
當前提交
4aba875c34
共有 1 個文件被更改,包括 2 次插入0 次删除
  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;