This revision was automatically updated to reflect the committed changes.
Closed by commit rG079c6ddaf534: Correctly initialize the DW_AT_comp_dir
attribute of Clang module skeleton CUs (authored by aprantl).
Herald added a project: clang.
Changed prior to commit:
aprantl marked an inline comment as done.
aprantl added inline comments.
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:2499
+DIB.createFile(Mod.getModuleName(), TheCU->getDirectory()),
+TheCU->getProducer(), false, StringRef(), 0, Mod.getASTFile(),
+
probinson added inline comments.
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:2499
+DIB.createFile(Mod.getModuleName(), TheCU->getDirectory()),
+TheCU->getProducer(), false, StringRef(), 0, Mod.getASTFile(),
+llvm::DICompileUnit::FullDebug, Signature);
aprantl created this revision.
aprantl added reviewers: friss, JDevlieghere.
Herald added a reviewer: jdoerfert.
Before this patch a Clang module skeleton CU would have a DW_AT_comp_dir
pointing to the directory of the module map file, and this information was not
used by anyone. Even worse,