Skip to content
  • Rafael Espindola's avatar
    Don't produce an empty llvm.compiler.used in LTO. · cc111b2b
    Rafael Espindola authored
    LTO was always creating an empty llvm.compiler.used. With this patch we
    now first check if there is anything to be added first.
    
    Unfortunately, there is no good way to test libLTO in isolation as it needs gold
    or ld64, but there are bots doing LTO builds that found this problem.
    
    llvm-svn: 180202
    cc111b2b
Loading