Giter VIP home page Giter VIP logo

Comments (2)

jmataraz avatar jmataraz commented on August 17, 2024

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.

MaskRay avatar MaskRay commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.