search for: symbolfiledwarf

Displaying 11 results from an estimated 11 matches for "symbolfiledwarf".

2016 Mar 26
2
DW_TAG_member extends beyond the bounds error on Linux
...peFromDWARF(DWARFDIE const&, lldb_private::Type*, lldb_private::CompilerType&) (this=0x8c4520, die=..., type=0xc40a50, clang_type=...) at /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp:2036 #2 0x00007f103d04c5e8 in SymbolFileDWARF::CompleteType(lldb_private::CompilerType&) (this=<optimized out>, compiler_type=...) at /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:1635 #3 0x00007f103ceff9da in lldb_private::ClangASTContext::CompleteTagDecl(void...
2018 Jun 14
2
[lldb-dev] Adding DWARF5 accelerator table support to llvm
...PPLE_objc_complete_type. I also am not sure that this is the *only* reason for the objc accelerator table. But I'd like to learn. My observation was based on studying lldb code. The only place where the objc table is used is in the AppleDWARFIndex::GetObjCMethods function, which is called from SymbolFileDWARF::GetObjCMethodDIEOffsets, whose only caller is DWARFASTParserClang::CompleteTypeFromDWARF, which seems to have a class DIE as an argument. However, if not all declarations of a class/interface have access to the full list of methods then this might be a problem for the approach I suggested.
2016 Mar 27
0
DW_TAG_member extends beyond the bounds error on Linux
...;, > lldb_private::Type*, lldb_private::CompilerType&) (this=0x8c4520, die=..., > type=0xc40a50, clang_type=...) > at > /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp:2036 > #2 0x00007f103d04c5e8 in > SymbolFileDWARF::CompleteType(lldb_private::CompilerType&) (this=<optimized > out>, compiler_type=...) > at > /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:1635 > #3 0x00007f103ceff9da in > lldb_private::ClangASTCont...
2018 Jun 14
2
[lldb-dev] Adding DWARF5 accelerator table support to llvm
...that this is the *only* reason for the objc accelerator table. But I'd like to learn. >> >> My observation was based on studying lldb code. The only place where >> the objc table is used is in the AppleDWARFIndex::GetObjCMethods >> function, which is called from >> SymbolFileDWARF::GetObjCMethodDIEOffsets, whose only caller is >> DWARFASTParserClang::CompleteTypeFromDWARF, which seems to have a >> class DIE as an argument. However, if not all declarations of a >> class/interface have access to the full list of methods then this >> might be a problem f...
2016 Mar 27
1
DW_TAG_member extends beyond the bounds error on Linux
...::Type*, lldb_private::CompilerType&) (this=0x8c4520, die=..., >> type=0xc40a50, clang_type=...) >> at >> /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp:2036 >> #2 0x00007f103d04c5e8 in >> SymbolFileDWARF::CompleteType(lldb_private::CompilerType&) (this=<optimized >> out>, compiler_type=...) >> at >> /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:1635 >> #3 0x00007f103ceff9da in >> lldb_p...
2018 Jun 14
2
[lldb-dev] Adding DWARF5 accelerator table support to llvm
...rator table. But I'd like to learn. > > >> > > >> My observation was based on studying lldb code. The only place where > > >> the objc table is used is in the AppleDWARFIndex::GetObjCMethods > > >> function, which is called from > > >> SymbolFileDWARF::GetObjCMethodDIEOffsets, whose only caller is > > >> DWARFASTParserClang::CompleteTypeFromDWARF, which seems to have a > > >> class DIE as an argument. However, if not all declarations of a > > >> class/interface have access to the full list of methods then this...
2016 Mar 27
0
DW_TAG_member extends beyond the bounds error on Linux
...e::CompilerType&) (this=0x8c4520, die=..., >>> type=0xc40a50, clang_type=...) >>> at >>> /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp:2036 >>> #2 0x00007f103d04c5e8 in >>> SymbolFileDWARF::CompleteType(lldb_private::CompilerType&) (this=<optimized >>> out>, compiler_type=...) >>> at >>> /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:1635 >>> #3 0x00007f103ceff9da in...
2013 Feb 15
0
[LLVMdev] assert when mixing static and non-static members with an external AST source
FYI, this turned out to be an error of omission in LLDB in SymbolFileDWARF, because the case of a non-defining external (i.e. a static member variable) wasn't being handled with a variable lookup to dig up the location. I'll put a patch together for lldb-commits, - Ashok From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Beh...
2013 Feb 08
2
[LLVMdev] assert when mixing static and non-static members with an external AST source
So, when performing expression evaluation, lldb trips over an assert in clang/lib/AST/RecordLayoutBuilder because ExternalFieldOffsets doesn't contain a FieldDecl that updateExternalFieldOffset expected. I found that the assert occurs when both static and non-static member variables are present. For instance, with the following, the lldb command 'expr my_test.length()' does not
2018 Jun 15
2
[lldb-dev] Adding DWARF5 accelerator table support to llvm
...o learn. >>>>>> >>>>>> My observation was based on studying lldb code. The only place where >>>>>> the objc table is used is in the AppleDWARFIndex::GetObjCMethods >>>>>> function, which is called from >>>>>> SymbolFileDWARF::GetObjCMethodDIEOffsets, whose only caller is >>>>>> DWARFASTParserClang::CompleteTypeFromDWARF, which seems to have a >>>>>> class DIE as an argument. However, if not all declarations of a >>>>>> class/interface have access to the full list of...
2018 Jun 14
3
[lldb-dev] Adding DWARF5 accelerator table support to llvm
> On Jun 14, 2018, at 7:01 AM, Pavel Labath via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Thank you all. I am going to try to reply to all comments in a single email. > > Regarding the .apple_objc idea, I am afraid the situation is not as > simple as just flipping a switch. Jonas is currently working on adding the support for DWARF5-style Objective-C accelerator