-
Notifications
You must be signed in to change notification settings - Fork 8
no output produced for seemingly well-formed compile_commands.json #4
Comments
@gbrik What is the status of this issue, was this resolved with the 3.20 milestone or does it still need work? If it's resolved and longer a problem then please mark as closed and link the relevant PR. Otherwise please provide a status update here on what the remaining work is to get it resolved. |
I need to reach out to the user to set up a call so we can work together on this, as I haven't been able to reproduce the issue async. |
I have a similar issue, maybe mine is a bit easier to repro since the code is public (PyTorch). This is my To repro (linux):
The output of |
Hi @suo, thanks for reporting! Yours might be a slightly different issue than the one reported above, since in the original case it looked like lsif-clang wasn't doing any processing at all. Having said that, I was able to produce an index for pytorch using the build command you posted and then running I also just pushed a quick commit so that if you run |
It turned out this issue was due to a compile_flags.txt in a parent directory, will be closed by updating documentation. |
technical details are private, but the gist is that the tool builds successfully, and a compile_commands is generated by the user's distributed build system. when the tool is run, no frontend compilation occurs and the output dump.lsif contains only a meta and project vertex. nothing looks suspicious in the compile_commands.json, but some details to note:
The text was updated successfully, but these errors were encountered: