diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-24 17:54:35 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-24 17:54:35 +0000 |
commit | cc111b2bc9f2dd707cda656ce9ba5511a3e734c6 (patch) | |
tree | 336d2cf4d4710f3f717319c2d6b170c4f5a50477 /clang/test/Driver/Ofast.c | |
parent | dcff671133e02fdaffe30decb83b04aa1779a811 (diff) | |
download | bcm5719-llvm-cc111b2bc9f2dd707cda656ce9ba5511a3e734c6.tar.gz bcm5719-llvm-cc111b2bc9f2dd707cda656ce9ba5511a3e734c6.zip |
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.
llvm-svn: 180202
Diffstat (limited to 'clang/test/Driver/Ofast.c')
0 files changed, 0 insertions, 0 deletions