소스 검색

* 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;