summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86AsmPrinter.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2013-11-12 21:44:01 +0000
committerJustin Bogner <mail@justinbogner.com>2013-11-12 21:44:01 +0000
commitb10a520c8feed63e3d5f6f314a601de9a6b8b123 (patch)
tree17de715440b738c7a39f5de25989e0f462c16390 /llvm/lib/Target/X86/X86AsmPrinter.cpp
parent87bb4920e9a121e437d3d9abf8426706bdaec6ca (diff)
downloadbcm5719-llvm-b10a520c8feed63e3d5f6f314a601de9a6b8b123.tar.gz
bcm5719-llvm-b10a520c8feed63e3d5f6f314a601de9a6b8b123.zip
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> llvm-svn: 194514
Diffstat (limited to 'llvm/lib/Target/X86/X86AsmPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud