Hi, Could anyone tell me how can I turn off printing .file directive. I want to make a custom output of the filename. In AsmPrinter::doInitialization() I found: if (MAI->hasSingleParameterDotFile()) { /* Very minimal debug info. It is ignored if we emit actual debug info. If we don't, this at least helps the user find where a function came from. */ O << "\t.file\t\"" << M.getModuleIdentifier() << "\"\n"; } Could someone explain what exactly this comment mean? Thanks in advance Artur -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091127/20fb0baf/attachment.html>
Hello, Arthur> Could anyone tell me how can I turn off printing .file directive. I want to > make a custom output of the filename.Well, you already found the exact know which controls the output of this directive. Just turn the "SingleParameterDotFile" into false in the MCAsmInfo for your target and you'll done. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Maybe Matching Threads
- [LLVMdev] [patch] DwarfDebug problem with line section
- [LLVMdev] [patch] DwarfDebug problem with line section
- [LLVMdev] Few questions about stack frame and calling conventions implementation in a backend
- [LLVMdev] [patch] DwarfDebug problem with line section
- [LLVMdev] Few questions about stack frame and calling conventions implementation in a backend