Open Arthapz opened 1 month ago
The log looks odd to me. I don't remember I saw \n
in my logs.
I think maybe you can debug it. The codes for modules map is at: https://github.com/ChuanqiXu9/clangd-for-modules/blob/13b00fff9016f065697ef62ecbe42087545e463a/clang-tools-extra/clangd/ProjectModules.cpp#L241-L283 . It is relatively easy and independent. I believe you can understand what is it doing.
And also you can provide a reduced example so that I can try to reproduce it in my environments.
And it is odd that why your message say:
Recorded module unit path build/../modules/stormkit/Core/Utils/Stacktrace.mpp doesn't declare mo
dule stormkit.Core:Utils.Stacktrace\n"
but Stacktrace.mpp
and module name stormkit.Core:Utils.Stacktrace
doesnt' show up in your module map file.
And it is odd that why your message say:
Recorded module unit path build/../modules/stormkit/Core/Utils/Stacktrace.mpp doesn't declare mo dule stormkit.Core:Utils.Stacktrace\n"
but
Stacktrace.mpp
and module namestormkit.Core:Utils.Stacktrace
doesnt' show up in your module map file.
Yeah i didn't post the whole map because it's very big and used Utils.App as exemple instead of Stacktrace
https://github.com/llvm/llvm-project/pull/66462#issuecomment-2228601446
so i searched a little but didn't found why i get this \n for example
the mapper file contain
the compile_commands.json contain
and the file contain