mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-21 23:25:07 +00:00
Debugging: mention clang command line
parent
d8b0fc0ac0
commit
dc1b46fe07
@ -8,6 +8,13 @@ Enable [logging](Customization#--log-filefile----log-file-appendfile) and
|
||||
|
||||
`-log-file=/tmp/ccls.log -v=1`
|
||||
|
||||
To figure out the compiler command line used to parse your source files:
|
||||
|
||||
* Find the line below `indexer* ... parse`. This is used be the indexer.
|
||||
* Find the line below `preamble ... create session for`. This is used for completion/diagnostics.
|
||||
|
||||
If there is some diagnostics problem, change the first argument to `clang`, append `-fsyntax-only` and run the command in a shell to reproduce.
|
||||
|
||||
### stderr
|
||||
|
||||
You can find stderr output in:
|
||||
|
Loading…
Reference in New Issue
Block a user