aprantl added a comment.

Are we sure we want to canonicalize *before* applying -fdebug-prefix-map in 
`remapDIPath()`? Honest question, the answer could be yes :-)



================
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:412
 
+  if (!llvm::sys::path::is_absolute(FileName)) {
+      FileName = llvm::sys::path::remove_leading_dotslash(FileName);
----------------
I believe that this check is redundant and also part of remove_leading_dotslash?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71508



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

Reply via email to