adamcz added a comment.

This is quite strange. I can't reproduce this with gcc 7.5.0, 9.3.0 or 10.0.1. 
Which version are you using?

There are bugs around clangd + modules + diagnostics. I'm fixing one in 
https://reviews.llvm.org/D85753 (not in it's final form yet), but it doesn't 
seem to be the same issue (can't be sure, but I think this is using the right 
SourceManager). This test is not supposed to generate any diagnostics, so 
that's the really surprising bit. Are you building from clean HEAD, or do you 
have any local modifications that could generate a extra diagnostics in this 
test?

The other option is that the failure is caused by module_cache_path. This test, 
unlike other clangd tests, needs real file system (to write the .pcm file and 
then read it back) and perhaps that doesn't work in your jenkins setup.

Are there any special options or things unique to your setup I could try out to 
reproduce this?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80525/new/

https://reviews.llvm.org/D80525

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to