ccls icon indicating copy to clipboard operation
ccls copied to clipboard

Build using LTO if compiler supports it (requires Cmake 3.9)

Open eklitzke opened this issue 5 years ago • 2 comments

eklitzke avatar Jun 10 '20 16:06 eklitzke

For clang, we have -flto=full and -flto=thin, and a bunch of other customizable options. Is it simpler delegating CXXFLAGS customization to the user? LTO may have some caveats.

MaskRay avatar Jun 11 '20 05:06 MaskRay

Does it make a difference given that ccls presumably links to the shared llvm lib?

Trass3r avatar Jul 24 '20 08:07 Trass3r