Comments (2)
Hm, I didn't fully parse the stderr output earlier - it's putting 2 clang invocations on a single line. Looks like they're for i386 (32-bit) and x86_64 (64-bit) invocations. Obviously that's the problem. I removed the -arch options from the dB but it's still failing. The ccsl.log output still says clang crashed, but the lsp stderr buffer in Emacs doesn't show any problems.
from ccls.
What ccls indexer (src/indexer.cc
src/clang_tu.cc
) does is similar to:
c-index-test -index-file <other options> a.cc -resource-dir=/path/to/clang/lib/7.0.0
It (clang::createInvocationFromCommandLine
) does not support two or more filenames. You should make sure every compile_commands.json
entry has exactly one main source filename.
from ccls.
Related Issues (20)
- Buffer is attached by ccls but lsp operations can not be performed
- Unity build indexing cpp files HOT 2
- Customize initialization options in S-exp has no effect HOT 1
- expected expression (ccls 4) when declaring a variable directly underneath `case`
- warning: multiple different client offset_encodings detected for buffer HOT 1
- Question: Need help with configuration
- Some header file are recognized of c not c++
- Feature Request : Add option to control nice level of indexer
- cause too much memory HOT 5
- YCM command `GoToSymbol` report `IndexError: list index out of range`
- CCLS doesn't scale well to much higher thread counts
- When I use this plug-in to retrieve projects, it will always be stuck at 99% progress, causing the memory to keep increasing.
- ccls complains no matching member function errors
- CCLS detects my C headers as C++ headers
- Can't use ccls with ESP32 related projects
- Critical memory leak HOT 1
- Data race detected in do_initialize/getDriverMode/RegisterStatistic
- Building on windows does not work as described in wiki
- ccls does not recognize C attributes
- alternate among multiple compile_command.json files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccls.