diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2017-01-26 22:50:22 +0000 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2017-01-26 22:50:22 +0000 |
commit | fb275a48b8399f7698d7271aec3efb5604a36d1e (patch) | |
tree | b09067e133ed81fde92ff075170705425bf994d6 /llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp | |
parent | c0ca4c2c956703eb414b506f5bef9a2e33b59db1 (diff) | |
download | bcm5719-llvm-fb275a48b8399f7698d7271aec3efb5604a36d1e.tar.gz bcm5719-llvm-fb275a48b8399f7698d7271aec3efb5604a36d1e.zip |
[sanitizer] Remove -fno-function-sections from SANITIZER_COMMON_CFLAGS
Summary:
-fno-function-sections was added as a default Sanitizer common cflag with
https://reviews.llvm.org/rL200683, the reasoning behind was that things would
break if linked with --gc-sections.
This appears to not be necessary anymore, as tests pass without, including
function-sections-are-bad.cc. There is a large benefit to having
function-sections when dealing with static libraries in terms of size and
dependencies that go away with --gc-sections.
Reviewers: kcc, eugenis
Reviewed By: eugenis
Subscribers: llvm-commits, mgorny
Differential Revision: https://reviews.llvm.org/D29132
llvm-svn: 293220
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp')
0 files changed, 0 insertions, 0 deletions