carlosgalvezp added a comment.

Hi @jansvoboda11 !

I believe this commit is the root cause of this issue: 
https://github.com/llvm/llvm-project/issues/53161

Believe it or not, I was lucky enough to run into it. I have bisected the repo 
and my tests indicate that this commit is the offender. Do you have any obvious 
idea what could be the problem?

To summarize, clang cannot find /usr/include only if I include exactly 511 
directories via `-I`. If I include 510 or 512, then it works fine. I will test 
if the same happens with smaller powers of two. I have a test script that I can 
share if you want to test it yourself.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116750

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

Reply via email to