llvm-6502/tools/lto
Rafael Espindola d4ee3920c9 Don't produce an empty llvm.compiler.used in LTO.
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180202 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-24 17:54:35 +00:00
..
CMakeLists.txt
lto.cpp
lto.exports
LTOCodeGenerator.cpp Don't produce an empty llvm.compiler.used in LTO. 2013-04-24 17:54:35 +00:00
LTOCodeGenerator.h
LTODisassembler.cpp
LTOModule.cpp Add support for subsections to the ELF assembler. Fixes PR8717. 2013-04-17 21:18:16 +00:00
LTOModule.h
Makefile