<div dir="ltr">Turned on dwarf logging, and it looks like it's dying with some of the protobuf library symbols. The last output is:<div class="gmail_extra"><br><div class="gmail_extra">206694 1373493358.162653 [4ed3/7f542e5a5740]: (x86_64) /usr/local/lib/libprotobuf.so.8: SymbolFileDWARF::ResolveTypeUID (die = 0x0006f6ed) DW_TAG_class_type 'ErrorCollector'<br>

</div><div class="gmail_extra">
206695 1373493358.162667 [4ed3/7f542e5a5740]: (x86_64) /usr/local/lib/libprotobuf.so.8: SymbolFileDWARF::ResolveTypeUID (die = 0x0006f6ed) DW_TAG_class_type 'ErrorCollector' resolve parent forward type for 0x0006f6e3</div>


<div class="gmail_extra">206696 1373493358.162681 [4ed3/7f542e5a5740]: (x86_64) /usr/local/lib/libprotobuf.so.8: SymbolFileDWARF::ParseType (die = 0x0006f6ed, decl_ctx = 0x19b3e58 (die 0x0006f6e3)) DW_TAG_class_type name = 'ErrorCollector')</div>


<div><br></div><div>This happens if I try to print several of the protobuf member functions: "p set_name", "p CopyFrom", "p MergeFrom", etc.</div><div><br></div><div>I don't understand a bunch of the code here yet, but this is the bit that's dying:</div>

<div><br></div><div><div>1105|   // Notify a C++ record declaration that we've added a member, so it can</div><div>1106|   // update it's class-specific state.</div><div>1107|   if (CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(this))</div>

<div>1108+>    Record->addedMember(D);</div></div><div><br></div><div>addedMember() is being called, but Record has no definition. It calls down into this, and line 411 dies.</div><div><br></div><div><div> 405| void CXXRecordDecl::addedMember(Decl *D) {</div>

<div> 406|   if (!D->isImplicit() &&</div><div> 407|       !isa<FieldDecl>(D) &&</div><div> 408|       !isa<IndirectFieldDecl>(D) &&</div><div> 409|       (!isa<TagDecl>(D) || cast<TagDecl>(D)->getTagKind() == TTK_Class ||</div>

<div> 410|         cast<TagDecl>(D)->getTagKind() == TTK_Interface))</div><div> 411+>    data().HasOnlyCMembers = false;</div><div> 412|</div><div> 413|   // Ignore friends and invalid declarations.</div><div>

 414|   if (D->getFriendObjectKind() || D->isInvalidDecl())</div><div> 415|     return;</div></div><div><br></div><div>This is bit of lldb code that is calling into clang:</div><div><br></div><div><div>1161|     // NOTE: Eventually CXXRecordDecl will be merged back into RecordDecl and</div>

<div>1162|     // we will need to update this code. I was told to currently always use</div><div>1163|     // the CXXRecordDecl class since we often don't know from debug information</div><div>1164|     // if something is struct or a class, so we default to always use the more</div>

<div>1165|     // complete definition just in case.</div><div>1166|     CXXRecordDecl *decl = CXXRecordDecl::Create (*ast,</div><div>1167|                                                  (TagDecl::TagKind)kind,</div><div>

1168|                                                  decl_ctx,</div><div>1169|                                                  SourceLocation(),</div><div>1170|                                                  SourceLocation(),</div>

<div>1171|                                                  name && name[0] ? &ast->Idents.get(name) : NULL);</div><div>1172|</div><div>1173|     if (decl)</div><div>1174|     {</div><div>1175|         if (metadata)</div>

<div>1176|             SetMetadata(ast, decl, *metadata);</div><div>1177|</div><div>1178|         if (access_type != eAccessNone)</div><div>1179|             decl->setAccess (ConvertAccessTypeToAccessSpecifier (access_type));</div>

<div>1180|</div><div>1181|         if (decl_ctx)</div><div>1182+>            decl_ctx->addDecl (decl);</div></div><div><br></div><div>If I change the addDecl check to this, I don't crash anymore:</div><div><br>
</div>
<div><div>        if (decl_ctx && decl->hasDefinition())</div><div>            decl_ctx->addDecl (decl);</div></div><div><br></div><div>Anyone have any insights as to the right approach here?</div><div><br>
Thanks.</div>
<div> -Mike</div><div><br></div><div class="gmail_quote">On Wed, Jul 10, 2013 at 12:05 PM, Michael Sartain <span dir="ltr"><<a href="mailto:mikesart@gmail.com" target="_blank">mikesart@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">I set a breakpoint on main, then type "expr set", and hit this assert:<div><br></div><div><div>(lldb) expr set</div><div>lldb: /home/mikesart/data/src/llvm.hg/llvm/tools/clang/include/clang/AST/DeclCXX.h:553: struct DefinitionData &clang::CXXRecordDecl::data(): Assertion `DefinitionData && "queried property of class with no definition"' failed.</div>



</div><div><br></div><div>DefinitionData is NULL. Log file shows the below. Full stacktrace is down below as well.</div><div><br></div><div>I don't believe I've got any symbols named "set", although this crash doesn't happen with a much simpler hello_world test app.</div>



<div><br></div><div>If anyone has any suggestions on where to look, please let me know. Otherwise I'll keep poking away here...</div><div>Thanks,</div><div> -Mike</div><div><br></div><div><div>8955 1373482599.140844 [66e2/7ff3afd86740]: HandleCommand, revised_command_line: 'expr set'</div>



<div>8956 1373482599.140854 [66e2/7ff3afd86740]: HandleCommand, wants_raw_input:'True'</div><div>8957 1373482599.140908 [66e2/7ff3afd86740]: HandleCommand, command line after removing command name(s): 'set'</div>



<div>8958 1373482599.141033 [66e2/7ff3afd86740]: == [ClangUserExpression::Evaluate] Parsing expression set ==</div><div>8959 1373482599.141054 [66e2/7ff3afd86740]: ClangUserExpression::ScanContext()</div><div>8960 1373482599.141133 [66e2/7ff3afd86740]: Parsing the following code:</div>



<div>8961 </div><div>8962 #undef NULL</div><div>8963 #undef Nil</div><div>8964 #undef nil</div><div>8965 #undef YES</div><div>8966 #undef NO</div><div>8967 #define NULL (__null)</div><div>8968 #define Nil (__null)</div><div>



8969 #define nil (__null)</div><div>8970 #define YES ((BOOL)1)</div><div>8971 #define NO ((BOOL)0)</div><div>8972 typedef signed char BOOL;</div><div>8973 typedef signed __INT8_TYPE__ int8_t;</div><div>8974 typedef unsigned __INT8_TYPE__ uint8_t;</div>



<div>8975 typedef signed __INT16_TYPE__ int16_t;</div><div>8976 typedef unsigned __INT16_TYPE__ uint16_t;</div><div>8977 typedef signed __INT32_TYPE__ int32_t;</div><div>8978 typedef unsigned __INT32_TYPE__ uint32_t;</div>



<div>8979 typedef signed __INT64_TYPE__ int64_t;</div><div>8980 typedef unsigned __INT64_TYPE__ uint64_t;</div><div>8981 typedef signed __INTPTR_TYPE__ intptr_t;</div><div>8982 typedef unsigned __INTPTR_TYPE__ uintptr_t;</div>



<div>8983 typedef __SIZE_TYPE__ size_t;</div><div>8984 typedef __PTRDIFF_TYPE__ ptrdiff_t;</div><div>8985 typedef unsigned short unichar;</div><div>8986 </div><div>8987 </div><div>8988 void</div><div>8989 $__lldb_expr(void *$__lldb_arg)</div>



<div>8990 {</div><div>8991     set;</div><div>8992 }</div><div>8993 </div><div>8994 1373482599.143049 [66e2/7ff3afd86740]: LayoutRecordType[12] on (ASTContext*)0x2d0d650 for (RecordDecl*)0x2d1ea80 [name = '_objc_super']</div>



<div>8995 1373482599.143353 [66e2/7ff3afd86740]: LayoutRecordType[13] on (ASTContext*)0x2d0d650 for (RecordDecl*)0x2d1ed20 [name = '_message_ref_t']</div><div>8996 1373482599.145382 [66e2/7ff3afd86740]: FindExternalLexicalDecls[6] on (ASTContext*)0x2d0d650 in (TranslationUnitDecl*)0x2d1e3b0 with null predicate</div>



<div>8997 1373482599.145593 [66e2/7ff3afd86740]: TransformTopLevelDecl(BOOL)</div><div>8998 1373482599.145772 [66e2/7ff3afd86740]: TransformTopLevelDecl(int8_t)</div><div>8999 1373482599.145942 [66e2/7ff3afd86740]: TransformTopLevelDecl(uint8_t)</div>



<div>9000 1373482599.146113 [66e2/7ff3afd86740]: TransformTopLevelDecl(int16_t)</div><div>9001 1373482599.146281 [66e2/7ff3afd86740]: TransformTopLevelDecl(uint16_t)</div><div>9002 1373482599.146451 [66e2/7ff3afd86740]: TransformTopLevelDecl(int32_t)</div>



<div>9003 1373482599.146619 [66e2/7ff3afd86740]: TransformTopLevelDecl(uint32_t)</div><div>9004 1373482599.146803 [66e2/7ff3afd86740]: TransformTopLevelDecl(int64_t)</div><div>9005 1373482599.146999 [66e2/7ff3afd86740]: TransformTopLevelDecl(uint64_t)</div>



<div>9006 1373482599.147183 [66e2/7ff3afd86740]: TransformTopLevelDecl(intptr_t)</div><div>9007 1373482599.147360 [66e2/7ff3afd86740]: TransformTopLevelDecl(uintptr_t)</div><div>9008 1373482599.147539 [66e2/7ff3afd86740]: TransformTopLevelDecl(size_t)</div>



<div>9009 1373482599.147716 [66e2/7ff3afd86740]: TransformTopLevelDecl(ptrdiff_t)</div><div>9010 1373482599.147875 [66e2/7ff3afd86740]: TransformTopLevelDecl(unichar)</div><div>9011 1373482599.148093 [66e2/7ff3afd86740]: ClangExpressionDeclMap::FindExternalVisibleDecls[18] for '$__lldb_arg' in a 'TranslationUnit'</div>



<div>9012 1373482599.148118 [66e2/7ff3afd86740]:   CEDM::FEVD[18] Searching the root namespace</div><div>9013 1373482599.148145 [66e2/7ff3afd86740]: ClangASTSource::FindExternalVisibleDecls[18] on (ASTContext*)0x2d0d650 for '$__lldb_arg' in a 'TranslationUnit'</div>



<div>9014 1373482599.148161 [66e2/7ff3afd86740]:   CAS::FEVD[18] Searching the root namespace</div><div>9015 1373482599.148374 [66e2/7ff3afd86740]: ClangExpressionDeclMap::FindExternalVisibleDecls[19] for '$__lldb_expr' in a 'TranslationUnit'</div>



<div>9016 1373482599.148400 [66e2/7ff3afd86740]:   CEDM::FEVD[19] Searching the root namespace</div><div>9017 1373482599.148424 [66e2/7ff3afd86740]: ClangASTSource::FindExternalVisibleDecls[19] on (ASTContext*)0x2d0d650 for '$__lldb_expr' in a 'TranslationUnit'</div>



<div>9018 1373482599.148438 [66e2/7ff3afd86740]:   CAS::FEVD[19] Searching the root namespace</div><div>9019 1373482599.148726 [66e2/7ff3afd86740]: ClangExpressionDeclMap::FindExternalVisibleDecls[20] for 'set' in a 'TranslationUnit'</div>



<div>9020 1373482599.148752 [66e2/7ff3afd86740]:   CEDM::FEVD[20] Searching the root namespace</div></div><div><br></div><div><div>(gdb) bt</div><div>#0  0x00007f0800b38425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64</div>



<div>#1  0x00007f0800b3bb8b in __GI_abort () at abort.c:91</div><div>#2  0x00007f0800b310ee in __assert_fail_base (fmt=<optimized out>, assertion=0x7f080565ec8a "DefinitionData && \"queried property of class with no definition\"", file=0x7f0805</div>



<div>6cd817 "/home/mikesart/data/src/llvm.hg/llvm/tools/clang/include/clang/AST/DeclCXX.h", line=<optimized out>, function=<optimized out>) at assert.c:94</div><div>#3  0x00007f0800b31192 in __GI___assert_fail (assertion=0x7f080565ec8a "DefinitionData && \"queried property of class with no definition\"", file=0x7f08056cd817 "/home/mikesar</div>



<div>t/data/src/llvm.hg/llvm/tools/clang/include/clang/AST/DeclCXX.h", line=553, function=0x7f08056cd8f9 "struct DefinitionData &clang::CXXRecordDecl::data()") at assert.c:103</div><div>#4  0x00007f0803633e16 in clang::CXXRecordDecl::data (this=0x194ca40) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/include/clang/AST/DeclCXX.h:553</div>



<div>#5  0x00007f08036d205b in clang::CXXRecordDecl::addedMember (this=0x194ca40, D=0x1522100) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/AST/DeclCXX.cpp:411</div><div>#6  0x00007f08036c6423 in clang::DeclContext::addHiddenDecl (this=0x194ca78, D=0x1522100) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/AST/DeclBase.cpp:1108</div>



</div><div><div>#7  0x00007f08036c648d in clang::DeclContext::addDecl (this=0x194ca78, D=0x1522100) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/AST/DeclBase.cpp:1119</div><div>#8  0x00007f0803285cca in lldb_private::ClangASTContext::CreateRecordType (this=0x7f07d40017d8, decl_ctx=0x194ca78, access_type=lldb::eAccessPrivate, name=0x7f07edc5ffae "Erro</div>



<div>rCollector", kind=3, language=lldb::eLanguageTypeUnknown, metadata=0x7fffbd00f3f0) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:1182</div><div>#9  0x00007f08033bc0e3 in SymbolFileDWARF::ParseType (this=0x7f07d40059b0, sc=..., dwarf_cu=0x7f07d4068d40, die=0x12e5150, type_is_new_ptr=0x0) at /home/mikesart/data/src/llvm</div>



<div>.hg/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:6157</div><div>#10 0x00007f08033b3961 in SymbolFileDWARF::GetTypeForDIE (this=0x7f07d40059b0, dwarf_cu=0x7f07d4068d40, die=0x12e5150) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/sourc</div>



<div>e/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:4496</div><div>#11 0x00007f08033b373e in SymbolFileDWARF::ResolveType (this=0x7f07d40059b0, dwarf_cu=0x7f07d4068d40, type_die=0x12e5150, assert_not_being_parsed=true) at /home/mikesart/data/</div>



<div>src/llvm.hg/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:2652</div><div>#12 0x00007f08033aa418 in SymbolFileDWARF::ResolveTypeUID (this=0x7f07d40059b0, cu=0x7f07d4068d40, die=0x12e5150, assert_not_being_parsed=true) at /home/mikesart/data/src/llvm</div>



<div>.hg/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:2325</div><div>#13 0x00007f08033b17fe in SymbolFileDWARF::ResolveTypeUID (this=0x7f07d40059b0, type_uid=456429) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Plugins/SymbolFile/D</div>



<div>WARF/SymbolFileDWARF.cpp:2265</div><div>#14 0x00007f08032e96fc in lldb_private::Type::GetEncodingType (this=0x1522fa0) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Symbol/Type.cpp:316</div><div>#15 0x00007f08032e8f56 in lldb_private::Type::ResolveClangType (this=0x1522fa0, clang_type_resolve_state=lldb_private::Type::eResolveStateForward) at /home/mikesart/data/src/l</div>



<div>lvm.hg/llvm/tools/lldb/source/Symbol/Type.cpp:519</div><div>#16 0x00007f08032e9d9e in lldb_private::Type::GetClangForwardType (this=0x1522fa0) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Symbol/Type.cpp:681</div>



<div>#17 0x00007f08033b97ec in SymbolFileDWARF::ParseChildParameters (this=0x7f07d40059b0, sc=..., containing_decl_ctx=0x194c968, dwarf_cu=0x7f07d4068d40, parent_die=0x132a770, ski</div><div>p_artificial=true, is_static=@0x7fffbd010f35: false, type_list=0x7f07d4005938, function_param_types=..., function_param_decls=..., type_quals=@0x7fffbd010f20: 0, template_para</div>



<div>m_infos=...) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:4279</div><div>#18 0x00007f08033bd3ca in SymbolFileDWARF::ParseType (this=0x7f07d40059b0, sc=..., dwarf_cu=0x7f07d4068d40, die=0x132a770, type_is_new_ptr=0x0) at /home/mikesart/data/src/llvm</div>



<div>.hg/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:6507</div><div>#19 0x00007f08033b3961 in SymbolFileDWARF::GetTypeForDIE (this=0x7f07d40059b0, dwarf_cu=0x7f07d4068d40, die=0x132a770) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/sourc</div>



<div>e/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:4496</div><div>#20 0x00007f08033b373e in SymbolFileDWARF::ResolveType (this=0x7f07d40059b0, dwarf_cu=0x7f07d4068d40, type_die=0x132a770, assert_not_being_parsed=true) at /home/mikesart/data/</div>



<div>src/llvm.hg/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:2652</div><div>#21 0x00007f08033aa418 in SymbolFileDWARF::ResolveTypeUID (this=0x7f07d40059b0, cu=0x7f07d4068d40, die=0x132a770, assert_not_being_parsed=true) at /home/mikesart/data/src/llvm</div>



<div>.hg/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:2325</div><div>#22 0x00007f08033bf8de in SymbolFileDWARF::GetClangDeclContextForDIE (this=0x7f07d40059b0, sc=..., cu=0x7f07d4068d40, die=0x132a770) at /home/mikesart/data/src/llvm.hg/llvm/to</div>



<div>ols/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:4605</div><div>#23 0x00007f08033b16f6 in SymbolFileDWARF::GetClangDeclContextForDIEOffset (this=0x7f07d40059b0, sc=..., die_offset=650576) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/</div>



<div>source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:4531</div><div>#24 0x00007f08033bf7c0 in SymbolFileDWARF::GetClangDeclContextForDIE (this=0x7f07d40059b0, sc=..., cu=0x7f07d4068d40, die=0x13685c0) at /home/mikesart/data/src/llvm.hg/llvm/to</div>



<div>ols/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:4594</div><div>#25 0x00007f08033b16f6 in SymbolFileDWARF::GetClangDeclContextForDIEOffset (this=0x7f07d40059b0, sc=..., die_offset=833179) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/</div>



<div>source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:4531</div><div>#26 0x00007f08033bf80b in SymbolFileDWARF::GetClangDeclContextForDIE (this=0x7f07d40059b0, sc=..., cu=0x7f07d4068d40, die=0x1368610) at /home/mikesart/data/src/llvm.hg/llvm/to</div>



<div>ols/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:4598</div></div><div>#27 0x00007f08033b16f6 in SymbolFileDWARF::GetClangDeclContextForDIEOffset (this=0x7f07d40059b0, sc=..., die_offset=833247) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/<br>



</div><div><div>source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:4531</div><div>#28 0x00007f08033b163a in SymbolFileDWARF::GetClangDeclContextForTypeUID (this=0x7f07d40059b0, sc=..., type_uid=833247) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/sour</div>



<div>ce/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:2250</div><div>#29 0x00007f08032c24b8 in lldb_private::Function::GetClangDeclContext (this=0x1840070) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Symbol/Function.cpp:451</div>



<div>#30 0x00007f08031cf0dc in lldb_private::ClangExpressionDeclMap::FindExternalVisibleDecls (this=0x1b3e190, context=..., module_sp=..., namespace_decl=..., current_id=2) at /hom</div><div>e/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Expression/ClangExpressionDeclMap.cpp:1329</div>



<div>#31 0x00007f08031cd6a6 in lldb_private::ClangExpressionDeclMap::FindExternalVisibleDecls (this=0x1b3e190, context=...) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/sourc</div><div>e/Expression/ClangExpressionDeclMap.cpp:872</div>



<div>#32 0x00007f0803203539 in lldb_private::ClangASTSource::FindExternalVisibleDeclsByName (this=0x1b3e190, decl_ctx=0x13b62f0, clang_decl_name=...) at /home/mikesart/data/src/llv</div><div>m.hg/llvm/tools/lldb/source/Expression/ClangASTSource.cpp:162</div>



<div>#33 0x00007f08031df7de in lldb_private::ClangASTSource::ClangASTSourceProxy::FindExternalVisibleDeclsByName(clang::DeclContext const*, clang::DeclarationName) () from /home/mi</div><div>kesart/data/src/llvm.hg/build/lib/liblldb.so.3.4</div>



<div>#34 0x00007f08036c6fba in clang::DeclContext::lookup (this=0x13b62f0, Name=...) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/AST/DeclBase.cpp:1242</div><div>#35 0x00007f08036c99f1 in clang::DeclContext::lookup (this=0x13b62f0, Name=...) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/include/clang/AST/DeclBase.h:1439</div>



<div>#36 0x00007f080403986a in LookupDirect (S=..., R=..., DC=0x13b62f0) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/Sema/SemaLookup.cpp:673</div><div>#37 0x00007f0804038518 in CppNamespaceLookup (S=..., R=..., Context=..., NS=0x13b62f0, UDirs=...) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/Sema/SemaLookup.cpp:7</div>



<div>65</div><div>#38 0x00007f0804037ba5 in clang::Sema::CppLookupName (this=0x13b98e0, R=..., S=0x13be3b0) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/Sema/SemaLookup.cpp:1088</div><div>#39 0x00007f0804039499 in clang::Sema::LookupName (this=0x13b98e0, R=..., S=0x13ca620, AllowBuiltinCreation=true) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/Sema/</div>



<div>SemaLookup.cpp:1261</div><div>#40 0x00007f080403a4ee in clang::Sema::LookupParsedName (this=0x13b98e0, R=..., S=0x13ca620, SS=0x7fffbd013ba8, AllowBuiltinCreation=true, EnteringContext=false) at /home/mike</div><div>



sart/data/src/llvm.hg/llvm/tools/clang/lib/Sema/SemaLookup.cpp:1684</div><div>#41 0x00007f0803dff79f in clang::Sema::ClassifyName (this=0x13b98e0, S=0x13ca620, SS=..., Name=@0x7fffbd013b90: 0x13d5fa8, NameLoc=..., NextToken=..., IsAddressOfOperand=false</div>



<div>, CCC=0x7fffbd013da0) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/Sema/SemaDecl.cpp:610</div><div>#42 0x00007f0803cb4cd8 in clang::Parser::TryAnnotateName (this=0x13bbfe0, IsAddressOfOperand=false, CCC=0x7fffbd013da0) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib</div>



<div>/Parse/Parser.cpp:1384</div><div>#43 0x00007f0803d25d3f in clang::Parser::ParseStatementOrDeclarationAfterAttributes (this=0x13bbfe0, Stmts=..., OnlyStatement=false, TrailingElseLoc=0x0, Attrs=...) at /home/m</div><div>



ikesart/data/src/llvm.hg/llvm/tools/clang/lib/Parse/ParseStmt.cpp:166</div><div>#44 0x00007f0803d25695 in clang::Parser::ParseStatementOrDeclaration (this=0x13bbfe0, Stmts=..., OnlyStatement=false, TrailingElseLoc=0x0) at /home/mikesart/data/src/llvm.hg/l</div>



<div>lvm/tools/clang/lib/Parse/ParseStmt.cpp:102</div><div>#45 0x00007f0803d2c4a0 in clang::Parser::ParseCompoundStatementBody (this=0x13bbfe0, isStmtExpr=false) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/Parse/ParseStmt.</div>



<div>cpp:843</div><div>#46 0x00007f0803d2f43f in clang::Parser::ParseFunctionStatementBody (this=0x13bbfe0, Decl=0x13c55a0, BodyScope=...) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/Par</div><div>se/ParseStmt.cpp:2393</div>



<div>#47 0x00007f0803cb3f65 in clang::Parser::ParseFunctionDefinition (this=0x13bbfe0, D=..., TemplateInfo=..., LateParsedAttrs=0x7fffbd014aa8) at /home/mikesart/data/src/llvm.hg/l</div><div>lvm/tools/clang/lib/Parse/Parser.cpp:1118</div>



<div>#48 0x00007f0803ccb5d3 in clang::Parser::ParseDeclGroup (this=0x13bbfe0, DS=..., Context=0, AllowFunctionDefinitions=true, DeclEnd=0x0, FRI=0x0) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/Parse/ParseDecl.cpp:1622</div>



<div>#49 0x00007f0803cb3078 in clang::Parser::ParseDeclOrFunctionDefInternal (this=0x13bbfe0, attrs=..., DS=..., AS=clang::AS_none) at /home/mikesart/data/src/llvm.hg/llvm/tools/cl</div><div>ang/lib/Parse/Parser.cpp:896</div>



<div>#50 0x00007f0803cb2843 in clang::Parser::ParseDeclarationOrFunctionDefinition (this=0x13bbfe0, attrs=..., DS=0x0, AS=clang::AS_none) at /home/mikesart/data/src/llvm.hg/llvm/to</div><div>ols/clang/lib/Parse/Parser.cpp:912</div>



<div>#51 0x00007f0803cb2060 in clang::Parser::ParseExternalDeclaration (this=0x13bbfe0, attrs=..., DS=0x0) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/Parse/Parser.cpp:</div><div>777</div><div>#52 0x00007f0803cb125b in clang::Parser::ParseTopLevelDecl (this=0x13bbfe0, Result=...) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/Parse/Parser.cpp:582</div>



<div>#53 0x00007f0803cad102 in clang::ParseAST (S=..., PrintStats=false, SkipFunctionBodies=false) at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/Parse/ParseAST.cpp:144</div><div>#54 0x00007f0803caceaa in clang::ParseAST (PP=..., Consumer=0x1d30170, Ctx=..., PrintStats=false, TUKind=clang::TU_Complete, CompletionConsumer=0x0, SkipFunctionBodies=false) </div>



<div>at /home/mikesart/data/src/llvm.hg/llvm/tools/clang/lib/Parse/ParseAST.cpp:96</div><div>#55 0x00007f08031d904a in lldb_private::ClangExpressionParser::Parse (this=0x7fffbd016120, stream=...) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Expression/Cla</div>



<div>ngExpressionParser.cpp:400</div><div>#56 0x00007f0803196171 in lldb_private::ClangUserExpression::Parse (this=0x1cc8840, error_stream=..., exe_ctx=..., execution_policy=lldb_private::eExecutionPolicyOnlyWhenNeede</div>



<div>d, keep_result_in_memory=true) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Expression/ClangUserExpression.cpp:504</div><div>#57 0x00007f0803197d4f in lldb_private::ClangUserExpression::EvaluateWithError (exe_ctx=..., execution_policy=lldb_private::eExecutionPolicyOnlyWhenNeeded, language=lldb::eLan</div>



<div>guageTypeUnknown, desired_type=lldb_private::ClangExpression::eResultTypeAny, unwind_on_error=true, ignore_breakpoints=true, expr_cstr=0xfdddd8 "set", expr_prefix=0x0, result_</div><div>valobj_sp=..., error=..., run_others=true, timeout_usec=0) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Expression/ClangUserExpression.cpp:1006</div>



<div>#58 0x00007f0803197b3c in lldb_private::ClangUserExpression::Evaluate (exe_ctx=..., execution_policy=lldb_private::eExecutionPolicyOnlyWhenNeeded, language=lldb::eLanguageType</div><div>Unknown, desired_type=lldb_private::ClangExpression::eResultTypeAny, unwind_on_error=true, ignore_breakpoints=true, expr_cstr=0xfdddd8 "set", expr_prefix=0x0, result_valobj_sp</div>



<div>=..., run_others=true, timeout_usec=0) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Expression/ClangUserExpression.cpp:947</div><div>#59 0x00007f0803360671 in lldb_private::Target::EvaluateExpression (this=0x12812f0, expr_cstr=0xfdddd8 "set", frame=0x7f07d772d3d0, result_valobj_sp=..., options=...) at /home</div>



<div>/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Target/Target.cpp:1889</div><div>#60 0x00007f0803509388 in lldb_private::CommandObjectExpression::EvaluateExpression (this=0xe875a0, expr=0xfdddd8 "set", output_stream=0x127cfe0, error_stream=0x127d038, resul</div>



<div>t=0x127cfe0) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Commands/CommandObjectExpression.cpp:345</div><div>#61 0x00007f0803509d0e in lldb_private::CommandObjectExpression::DoExecute (this=0xe875a0, command=0xfdddd8 "set", result=...) at /home/mikesart/data/src/llvm.hg/llvm/tools/ll</div>



<div>db/source/Commands/CommandObjectExpression.cpp:528</div><div>#62 0x00007f080323b545 in lldb_private::CommandObjectRaw::Execute (this=0xe875a0, args_string=0xfdddd8 "set", result=...) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/so</div>



<div>urce/Interpreter/CommandObject.cpp:1064</div><div>#63 0x00007f080322cca2 in lldb_private::CommandInterpreter::HandleCommand (this=0xe7f5f0, command_line=0x7f07e8000ed8 "expr set", lazy_add_to_history=lldb_private::eLazyBoolYe</div>



<div>s, result=..., override_context=0x0, repeat_on_empty_command=true, no_context_switching=false) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Interpreter/CommandInt</div><div>erpreter.cpp:1825</div><div>#64 0x00007f0802fe7404 in lldb::SBCommandInterpreter::HandleCommand (this=0x7fffbd017060, command_line=0x7f07e8000ed8 "expr set", result=..., add_to_history=true) at /home/mik</div>



<div>esart/data/src/llvm.hg/llvm/tools/lldb/source/API/SBCommandInterpreter.cpp:122</div><div>#65 0x000000000040bf50 in Driver::HandleIOEvent (this=0x7fffbd019d20, event=...) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/tools/driver/Driver.cpp:1083</div>



<div>#66 0x000000000040d8aa in Driver::MainLoop (this=0x7fffbd019d20) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/tools/driver/Driver.cpp:1556</div><div>#67 0x000000000040e0db in main (argc=1, argv=0x7fffbd019f28, envp=0x7fffbd019f38) at /home/mikesart/data/src/llvm.hg/llvm/tools/lldb/tools/driver/Driver.cpp:1727</div>



</div></div>
</blockquote></div><br></div></div>