1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/cmake
Rafael Espindola e72663a555 Don't use -ffunction-sections -fdata-sections on debug builds.
Unfortunately, on ELF there is not used attribute on the .o files,
so there is no easy way to keep the dump function alive.

If we are not gcing, we may as well produce non gcable files and
avoid the cost.

Linking a debug clang now takes 18.856225992 seconds, before it
took 21.206897447.

I will try avoiding --gc-sections -O3 on a followup patch.

llvm-svn: 234159
2015-04-06 14:34:43 +00:00
..
modules Don't use -ffunction-sections -fdata-sections on debug builds. 2015-04-06 14:34:43 +00:00
platforms Doing some cleanup to the iOS toolchain. 2015-03-12 16:19:16 +00:00
config-ix.cmake test: Make a start on a test suite for libLTO. 2015-03-19 23:55:38 +00:00
Makefile Provide CMake package modules in install tree 2014-02-09 16:37:02 +00:00
nsis_icon.ico Win installer: provide a pretty icon 2014-03-27 20:48:37 +00:00
nsis_logo.bmp CMake: polish the Windows packaging rules 2013-08-15 23:44:31 +00:00
README

See docs/CMake.html for instructions on how to build LLVM with CMake.