Skip to content

Missing dependency from clang-scan-deps after b768a8c1db85b9e84fd8b356570a3a8fbe37acf6 #137648

@tru

Description

@tru

Hi @jansvoboda11

I know I am late on the ball here, but we have been using clang-scan-deps from LLVM 18 until I recently started to upgrade to 19 and the 20. We use clang-scan-deps as part of our build system to figure out the dependencies of C++ files to build. When I started to integrate test LLVM 19 I noticed that clang-scan-deps was missing output a specific header. This header is included inside a #ifdef statement, but there something else going on as well.

I bisected the problem to b768a8c and the problem exists within main as well. And the issue only exists with the non-preprocessor mode, the preprocessor mode works fine (but is to slow).

The problem here is that I don't know exactly how to make a reproducible issue out of this. the include tree is pretty complicated and the source is not something I can share.

Let me know how I can provide you with more information or how to debug this issue further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions