AsmPrinter question

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

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.

Well, you already found the exact know

*knob