llvm-6502/lib/LTO
Justin Bogner dc6b4b4fc2 Protect user-supplied runtime library functions in LTO
Add user-supplied C runtime and compiler-rt library functions to
llvm.compiler.used to protect them from premature optimization by
passes like -globalopt and -ipsccp.  Calls to (seemingly unused)
runtime library functions can be added by -instcombine and instruction
lowering.

Patch by Duncan Exon Smith, thanks!

Fixes <rdar://problem/14740087>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194514 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-12 21:44:01 +00:00
..
CMakeLists.txt
LLVMBuild.txt
LTOCodeGenerator.cpp Protect user-supplied runtime library functions in LTO 2013-11-12 21:44:01 +00:00
LTOModule.cpp Remove linkonce_odr_auto_hide. 2013-11-01 17:09:14 +00:00
Makefile Test commit. Fixed a copy-paste error in the Makefile for lib/LTO. 2013-10-03 18:05:12 +00:00