[LLVMdev] AsmPrinter question

Artur Pietrek pietreka at gmail.com
Fri Nov 27 04:05:59 PST 2009


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>


More information about the llvm-dev mailing list