Displaying 2 results from an estimated 2 matches for "updateexternalfieldoffset".
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 assert unless m_a is declared:
class test
{
static const int npos = -1;
int m_a;
public:...
2013 Feb 15
0
[LLVMdev] assert when mixing static and non-static members with an external AST source
...t cs.uiuc.edu
Cc: Greg Clayton
Subject: [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 assert unless m_a is declared:
class test
{
static const int npos = -1;
int m_a;
public:...