mkazantsev added a comment. It is indeed a bug in DTU, I was able to construct a unit test to reproduce it. https://bugs.llvm.org/show_bug.cgi?id=40528 CHANGES SINCE LAST ACTION https://reviews.llvm.org/D57316/new/ https://reviews.llvm.org/D57316