================ @@ -628,9 +628,8 @@ void CGDebugInfo::CreateCompileUnit() { // file was specified with an absolute path. if (CSKind) CSInfo.emplace(*CSKind, Checksum); - llvm::DIFile *CUFile = DBuilder.createFile( - remapDIPath(MainFileName), remapDIPath(getCurrentDirname()), CSInfo, - getSource(SM, SM.getMainFileID())); + llvm::DIFile *CUFile = + createFile(MainFileName, CSInfo, getSource(SM, SM.getMainFileID())); ---------------- adrian-prantl wrote:
Why is MainFileName no longer being remapped here? https://github.com/llvm/llvm-project/pull/83175 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits