Displaying 8 results from an estimated 8 matches for "dw_macinfo_start_file".
2020 Jan 02
2
Query/Suggestions on upgrading macro infrastructure.
Hello Everyone,
I would like to have your thoughts on this.
Overview of the problem
===================
While implementing support for the DWARFv5 debug_macro section support in
LLVM. I came across these holes:
- The macros infrastructure in CLANG/LLVM is inherently tied to a
particular version(v4 macinfo). For instance, consider this snippet from
CLANG:
2015 Oct 28
4
RFC: Supporting macros in LLVM debug info
...---------------------------------------------------
mainfile3.o: file format ELF64-x86-64
.debug_macinfo contents:
DW_MACINFO_define - lineno: 0 macro: __llvm__ 1
DW_MACINFO_define - lineno: 0 macro: __clang__ 1
... <More compiler macros> ...
DW_MACINFO_define - lineno: 0 macro: M3 Value3
DW_MACINFO_start_file - lineno: 0 filenum: 1
DW_MACINFO_start_file - lineno: 0 filenum: 2
DW_MACINFO_define - lineno: 0 macro: M4 Value4
DW_MACINFO_end_file
DW_MACINFO_define - lineno: 1 macro: M1 Value1
DW_MACINFO_start_file - lineno: 2 filenum: 3
DW_MACINFO_undef - lineno: 4 macro: M1
DW_MACINFO_de...
2015 Nov 03
3
RFC: Supporting macros in LLVM debug info
...-------------------------------------------------------
mainfile3.o: file format ELF64-x86-64
.debug_macinfo contents:
DW_MACINFO_define - lineno: 0 macro: __llvm__ 1
DW_MACINFO_define - lineno: 0 macro: __clang__ 1
… <More compiler macros> …
DW_MACINFO_define - lineno: 0 macro: M3 Value3
DW_MACINFO_start_file - lineno: 0 filenum: 1
DW_MACINFO_start_file - lineno: 0 filenum: 2
DW_MACINFO_define - lineno: 0 macro: M4 Value4
DW_MACINFO_end_file
DW_MACINFO_define - lineno: 1 macro: M1 Value1
DW_MACINFO_start_file - lineno: 2 filenum: 3
DW_MACINFO_undef - lineno: 4 macro: M1
DW_MACINFO_de...
2015 Nov 03
2
RFC: Supporting macros in LLVM debug info
...-------------------------------------------------------
mainfile3.o: file format ELF64-x86-64
.debug_macinfo contents:
DW_MACINFO_define - lineno: 0 macro: __llvm__ 1
DW_MACINFO_define - lineno: 0 macro: __clang__ 1
… <More compiler macros> …
DW_MACINFO_define - lineno: 0 macro: M3 Value3
DW_MACINFO_start_file - lineno: 0 filenum: 1
DW_MACINFO_start_file - lineno: 0 filenum: 2
DW_MACINFO_define - lineno: 0 macro: M4 Value4
DW_MACINFO_end_file
DW_MACINFO_define - lineno: 1 macro: M1 Value1
DW_MACINFO_start_file - lineno: 2 filenum: 3
DW_MACINFO_undef - lineno: 4 macro: M1
DW_MACINFO_de...
2015 Nov 05
2
RFC: Supporting macros in LLVM debug info
...-------------------------------------------------------
mainfile3.o: file format ELF64-x86-64
.debug_macinfo contents:
DW_MACINFO_define - lineno: 0 macro: __llvm__ 1
DW_MACINFO_define - lineno: 0 macro: __clang__ 1
… <More compiler macros> …
DW_MACINFO_define - lineno: 0 macro: M3 Value3
DW_MACINFO_start_file - lineno: 0 filenum: 1
DW_MACINFO_start_file - lineno: 0 filenum: 2
DW_MACINFO_define - lineno: 0 macro: M4 Value4
DW_MACINFO_end_file
DW_MACINFO_define - lineno: 1 macro: M1 Value1
DW_MACINFO_start_file - lineno: 2 filenum: 3
DW_MACINFO_undef - lineno: 4 macro: M1
DW_MACINFO_de...
2015 Nov 13
2
RFC: Supporting macros in LLVM debug info
...-x86-64
>
>
>
> .debug_macinfo contents:
>
> DW_MACINFO_define - lineno: 0 macro: __llvm__ 1
>
> DW_MACINFO_define - lineno: 0 macro: __clang__ 1
>
>
>
> … <More compiler macros> …
>
>
>
> DW_MACINFO_define - lineno: 0 macro: M3 Value3
>
> DW_MACINFO_start_file - lineno: 0 filenum: 1
>
> DW_MACINFO_start_file - lineno: 0 filenum: 2
>
> DW_MACINFO_define - lineno: 0 macro: M4 Value4
>
> DW_MACINFO_end_file
>
> DW_MACINFO_define - lineno: 1 macro: M1 Value1
>
> DW_MACINFO_start_file - lineno: 2 filenum: 3
>
>...
2015 Nov 04
2
RFC: Supporting macros in LLVM debug info
...;>
>> DW_MACINFO_define - lineno: 0 macro: __llvm__ 1
>>
>> DW_MACINFO_define - lineno: 0 macro: __clang__ 1
>>
>>
>>
>> … <More compiler macros> …
>>
>>
>>
>> DW_MACINFO_define - lineno: 0 macro: M3 Value3
>>
>> DW_MACINFO_start_file - lineno: 0 filenum: 1
>>
>> DW_MACINFO_start_file - lineno: 0 filenum: 2
>>
>> DW_MACINFO_define - lineno: 0 macro: M4 Value4
>>
>> DW_MACINFO_end_file
>>
>> DW_MACINFO_define - lineno: 1 macro: M1 Value1
>>
>> DW_MACINFO_star...
2015 Nov 13
2
[cfe-dev] RFC: Supporting macros in LLVM debug info
...ro: __llvm__ 1
>>>
>>> DW_MACINFO_define - lineno: 0 macro: __clang__ 1
>>>
>>>
>>>
>>> … <More compiler macros> …
>>>
>>>
>>>
>>> DW_MACINFO_define - lineno: 0 macro: M3 Value3
>>>
>>> DW_MACINFO_start_file - lineno: 0 filenum: 1
>>>
>>> DW_MACINFO_start_file - lineno: 0 filenum: 2
>>>
>>> DW_MACINFO_define - lineno: 0 macro: M4 Value4
>>>
>>> DW_MACINFO_end_file
>>>
>>> DW_MACINFO_define - lineno: 1 macro: M1 Value1
>...