commit | 7ce1f2714ac0f33210bab14650bce2078ebf343e | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Jul 12 17:24:55 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Jul 12 17:24:55 2010 +0000 |
tree | 5d3bd4729bde551f2b5d0c58080659b48b5a669c | |
parent | 64d092c232bc282762430df9eb67beafffaa2fdc [diff] |
Do not generate LLVM IR for available_externally function bodies at -O0, since we won't be using the definitions for anything anyway. For lib/System/Path.o when built in Debug+Asserts mode, this leads to a 4% improvement in compile time (and suppresses 440 function bodies). <rdar://problem/7987644> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108156 91177308-0d34-0410-b5e6-96231b3b80d8