================
@@ -956,8 +956,11 @@ void CodeViewDebug::emitBuildInfo() {
const MDNode *Node = *CUs->operands().begin(); // FIXME: Multiple CUs.
const auto *CU = cast<DICompileUnit>(Node);
const DIFile *MainSourceFile = CU->getFile();
+ const llvm::StringRef cwd = Asm->TM.Options.MCOptions.EmitCurrentWorkdir
+ ? MainSourceFile->getDirectory()
----------------
vvereschaka wrote:
Thank you, good idea. I have updated the changes accordingly.
https://github.com/llvm/llvm-project/pull/205736
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits