[llvm-bugs] [Bug 28820] Compile gets 10x slower (from 40s to 7m40s) due to using -g (on compiles with -fno-execptions)

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 15 14:02:34 PDT 2017


Jonas Devlieghere <jonas at devlieghere.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |jonas at devlieghere.com
         Resolution|---                         |FIXED

--- Comment #10 from Jonas Devlieghere <jonas at devlieghere.com> ---
This issue no longer occurs on the current trunk:

time bin/clang++ -arch x86_64 -O2 -isysroot $(xcrun -show-sdk-path) -std=c++11
-c foo_small.cc -g -fno-exceptions
       10.26 real        10.01 user         0.21 sys

time bin/clang++ -arch x86_64 -O2 -isysroot $(xcrun -show-sdk-path) -std=c++11
-c foo_small.cc -fno-exceptions
        4.72 real         4.53 user         0.13 sys

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170815/345d90e0/attachment.html>

More information about the llvm-bugs mailing list