[PATCH] D91186: [clangd] Add documentation for building and testing clangd
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 11 01:09:26 PST 2020
kadircet added inline comments.
================
Comment at: clang-tools-extra/clangd/README.md:30
+ We suggest building in RELEASE mode as building DEBUG binaries requires
+ considerably more resources. You can check [Building LLVM with CMake
+ documentation](https://llvm.org/docs/CMake.html) for more details about cmake
----------------
nridge wrote:
> I guess it might depend on whether you just want to build from source, or if you're doing clangd development. For development purposes, I find release builds to be very hard to debug due to inlining and other optimizations.
yeah i suppose it might make sense to add something like `CXX_FLAGS="-gmlt -O1"` but I am not sure if we mention that in this minimal one :/
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91186/new/
https://reviews.llvm.org/D91186
More information about the cfe-commits
mailing list