misc: improve clangd compile_flags.txt flags
This patch improves the compile_flags.txt config used to power clangd for the rts C codebase. The flags in the file are sampled & deduped from a real stage1 build with clang-19 and vastly improves the IDE accuracy when hacking the rts. For maximum code coverage under the default settings, compile_flags.txt defaults to threaded+profiled+dynamic+debug way. This does not mean profdyn needs to be actually built in _build/stage1 for IDE to work. To activate IDE for other RTS ways, simply remove one of the -D flags at the end of compile_flags.txt and restart clangd. (cherry picked from commit 59e0a770)
Loading
-
mentioned in commit 039e2086
-
mentioned in commit 4ee67b5d
-
mentioned in commit fcba9704
-
mentioned in commit e55552ba
-
mentioned in commit 24051e1c
-
mentioned in commit 9f9ff300
-
mentioned in commit aa132412
-
mentioned in commit 68a149ea
-
mentioned in commit e5b66003
-
mentioned in commit d94add93
-
mentioned in commit 2fdf32e9
-
mentioned in commit 66344a93
-
mentioned in commit 72bb2249
-
mentioned in commit 9b1362d7
-
mentioned in commit b3b8a5aa
-
mentioned in commit 5cd78aa4
-
mentioned in commit 4005752c
-
mentioned in commit 29cbc636
-
mentioned in commit 45b32c20
Please register or sign in to comment