[PATCH] [prototype] Adding line table debug information to LLVM on Windows

Timur Iskhodzhanov timurrrr at google.com
Tue Dec 17 08:47:46 PST 2013


2013/12/17 Timur Iskhodzhanov <timurrrr at google.com>:
> 2013/12/17 Eric Christopher <echristo at gmail.com>
>>
>> OK, some ideas on how to break this up to make it a bit easier:
>>
>>   a) assembler support - the stuff to basically assemble various different .s files that happen
>> to have the format. Test cases can be simple .s files and use llvm-mc and llvm-readobj to test.
>> At least the label diff doesn't even really need to be a line table I wouldn't think.
>
> Can you please clarify what needs to be tested using .s files?
>
> I think you want me to test that
>   llc -filetype=asm | llvm-mc -filetype=obj
> generates the same file as
>   llc -filetype=obj
> does for the new directives emitted by EmitCOFFSectionReference and
> EmitCOFFStaticOffset (namely ".secrel32" and ".offset from L1 to L2").
>
> Just wanted to double-check that I understood you correctly.
>
>>   b) dumper support - all of the coff dumping support would be good to split out.
>> I don't think you need to worry about a separate directory/debug structure just for the line tables.
>> When we expand past this we can look into it.
>> You can check in some object files to use as test cases here.
>
> Done, http://llvm-reviews.chandlerc.com/D2425

Plus r197499

>>   c) Middle end support to handle the actual line tables. After a and b we can worry about this.
>>
>>   Sound good?



More information about the llvm-commits mailing list