================
@@ -59,4 +60,8 @@ void llvm::emitSourceFileHeader(StringRef Desc, raw_ostream
&OS) {
printLine(OS, Prefix, ' ', Suffix);
printLine(OS, "\\*===", '-', "===*/");
OS << '\n';
+
+ // Print the path of source file
+ if (!Record.getInputFilename().empty())
+ OS << "// Generated from: " << Record.getInputFilename() << "\n\n";
----------------
chapuni wrote:
I think this could be enabled if the base path would be given from the build
system.
https://github.com/llvm/llvm-project/pull/65744
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits