about those clang warnings

René J.V. Bertin rjvbertin at gmail.com
Wed Jan 27 16:52:57 UTC 2016


On Wednesday January 27 2016 17:22:00 Kevin Funk wrote:

> libLLVMCodeGen.so (0x00007fdbbca75000)
>         ... and a lot more ...
> 
> You see the difference... This has an impact on startup performance.

I'm clearly not in that situation.

> Check your Clang/LLVM build I'd say and tune the optimization flags (note that 
> RelWithDebInfo is also not ideal).

All I can say is that it's built for performance and not development, and using configure instead of cmake.
As long as I'm not running into blatant issues because my system compiler is outdated I'll keep using that one. Afterwards we'll see, but given the size of a full llvm build and the lack of gain that usually comes with advanced optimisation options I doubt I'll spend a lot of time on it.
A pure static build could use -mdynamic-no-pic on OS X, and that used to give up to 25% speed-ups in the 32bit PPC days. I have no idea if it's still that effective, and highly doubt it would explain the performance difference I'm seeing (I don't even know if it really does something in 64bit builds).

R.


More information about the KDevelop-devel mailing list