orchestra icon indicating copy to clipboard operation
orchestra copied to clipboard

clangd does not use flags provided through hard_compiler_wrapper.py

Open carpikes opened this issue 4 years ago • 1 comments
trafficstars

With the latest orchestra, the flags provided through hard_compiler_wrapper.py are passed directly to the compiler and they are not written in compile_commands.json, which is used by clangd to provide code completion.

At the moment, the only flag which is causing problems with ui/cold-revng is -fstdlib=libc++ which would be useful to write in some way in the compile_commands file.

carpikes avatar Jan 11 '21 14:01 carpikes

We need a custom .clangd file sadly. We should automate what's decribed here.

aleclearmind avatar Dec 27 '22 10:12 aleclearmind