[llvm-commits] [patch] print ".file" directives
Rafael Espindola
espindola at google.com
Fri Nov 28 07:31:51 PST 2008
The attached patch fixes bug 3140 by printing the module name in the
.file directive. This adds very minimal debug info for the simple case
of a C (or C++) file compile one at a time.
The only thing I am not sure about is if it is always safe to add the
.file directive. I have tried on linux (GNU assembler version 2.18.0),
and darwin ppc (cctools-622.9~2, GNU assembler version 1.38). Can
someone with another assembler check if it is OK?
Thanks,
--
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file.patch
Type: text/x-diff
Size: 776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20081128/2de67f09/attachment.patch>
More information about the llvm-commits
mailing list