[cfe-commits] new .file directive

Nick Lewycky nlewycky at google.com
Fri Oct 14 19:10:55 PDT 2011


On 14 October 2011 19:09, Nick Lewycky <nlewycky at google.com> wrote:

> [+cfe-commits because there's now a clang patch involved too.]
>

Sorry. +cfe-commits the mailing list this time. :-/

On 14 October 2011 13:56, Eric Christopher <echristo at apple.com> wrote:
>
>>
>> On Oct 14, 2011, at 1:12 PM, Nick Lewycky wrote:
>>
>> Does anybody really, really care about the .s format emitted by clang/llc
>> staying compatible with older assemblers? If so, do you have a suggestion
>> for how we should go about maintaining compatibility?
>>
>>
>> Given all of the whining we get about not supporting someone's ancient
>> this or that… a bit.
>>
>> The standard way to do this would be an autoconf check to see if it
>> successfully assembles the file directive.
>>
>
> I've gone ahead and implemented control for this just like the CFI
> directives. It turns off with -no-integrated-as or -fno-dwarf-directory-asm
> on clang, or with -disable-dwarf-directory on llc. The
> -fno-dwarf-directory-asm flag is ignored when emitting .o files directly.
>
> Please review!
>
> Nick
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111014/78d34c34/attachment.html>


More information about the cfe-commits mailing list