[PATCH] D71508: [DebugInfo] Duplicate file names in debug info
kamlesh kumar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 16 19:22:39 PST 2019
kamleshbhalui added a comment.
In D71508#1786799 <https://reviews.llvm.org/D71508#1786799>, @aprantl wrote:
> Are we sure we want to canonicalize *before* applying -fdebug-prefix-map in `remapDIPath()`? Honest question, the answer could be yes :-)
it canonicalizes before apply -fdebug-prefix-map in `remapDIPath()` only when creating compilation unit with filename passed by driver option -main-file-name
https://github.com/llvm-mirror/clang/blob/master/lib/CodeGen/CGDebugInfo.cpp#L615
Other than that it first apply -fdebug-prefix-map in `remapDIPath()` then try to canonicalize.
https://github.com/llvm-mirror/clang/blob/master/lib/CodeGen/CGDebugInfo.cpp#L441
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71508/new/
https://reviews.llvm.org/D71508
More information about the cfe-commits
mailing list