search for: dw_op_call_frame_cfa

Displaying 4 results from an estimated 4 matches for "dw_op_call_frame_cfa".

2017 Nov 08
2
Debug info for Cuda
...ot to labels inside these sections. e) Sections itself must be enclosed into braces > “.section .debug_info {…}” Again, why is this a limitation? >>>> i) .debug_frame section is emitted by txas compiler. > DW_AT_frame_base must be set to dwarf::DW_FORM_data1 > dwarf::DW_OP_call_frame_cfa value. I doubt that's a problem. Why is this a problem? On Tue, Nov 7, 2017 at 1:33 AM, Alexey Bataev via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote: 06.11.2017 14:56, Robinson, Paul пишет: >> Hi everybody, >> As you know, Cuda/NVP...
2017 Nov 06
2
Debug info for Cuda
...abels. It > might or might not be easy to work around this; there might be an > unfortunate interaction with how emitting line-0 records works. > >> i) .debug_frame section is emitted by txas compiler. >>     DW_AT_frame_base must be set to dwarf::DW_FORM_data1 >> dwarf::DW_OP_call_frame_cfa value. > I doubt that's a problem. > >> j) Strings cannot be referenced by the labels, instead they must be >> inlined in the sections in form of array of chars. > LLVM used to do inline strings, but switched to the .debug_str section > quite a while ago. On the other h...
2017 Nov 06
5
RFC: Debug info for Cuda
...appiled to pointer/reference types only, not variables. h) The first label in the function must follow the debug location macro. In LLVM, it is followed by the debug location macro. i) .debug_frame section is emitted by txas compiler. DW_AT_frame_base must be set to dwarf::DW_FORM_data1 dwarf::DW_OP_call_frame_cfa value. j) Strings cannot be referenced by the labels, instead they must be inlined in the sections in form of array of chars. Some changes in LLVM are required to support all these limitation/features in the output PTX files. Required changes in LLVM. ================== •include/llvm/CodeGen/Asm...
2016 Mar 23
1
Clang/LLVM producing incomplete & erroneous debug information
...DW_AT_decl_file : 1 <3c9> DW_AT_decl_line : 16 <3ca> DW_AT_prototyped : 1 <3ca> DW_AT_type : <0x3f> <3ce> DW_AT_low_pc : 0x4008a0 <3d6> DW_AT_high_pc : 0xe5 <3de> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa) <3e0> DW_AT_GNU_all_call_sites: 1 <3e0> DW_AT_sibling : <0x58b> <2><3e4>: Abbrev Number: 22 (DW_TAG_formal_parameter) <3e5> DW_AT_name : (indirect string, offset: 0x138): argc <3e9> DW_AT_decl_file : 1 <3ea>...