[LLVMbugs] [Bug 14021] New: Clang crashes in InitializationSequence -> CheckAccessDeclContext

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 4 09:21:07 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=14021

             Bug #: 14021
           Summary: Clang crashes in InitializationSequence ->
                    CheckAccessDeclContext
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: jvoung at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9306
  --> http://llvm.org/bugs/attachment.cgi?id=9306
slightly reduced test

Attached is a delta "reduced" file (sorry it's still ~600lines).
This is for clang version 3.2 (trunk 165162) (llvm/trunk 165148).
When compiled for x86_64 on linux, and running the attached file with exactly
these arguments:

"""
clang -cc1 -triple i686-unknown-linux -emit-llvm-bc -disable-free
-mrelocation-model static -fmath-errno  -target-linker-version 2.20.1
-momit-leaf-frame-pointer -nostdsysteminc -nobuiltininc  -O2 -Wall
-Wfatal-errors -Wno-overloaded-virtual -Wno-variadic-macros -Wno-long-long
-fdeprecated-macro -fno-dwarf-directory-asm  -mstackrealign -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fno-common -fdiagnostics-show-option
-fcolor-diagnostics -x c++ testcase-min-linux.i
"""


We get a crash after emitting an error message.  Here is the stack trace.


=====================================

testcase-min-linux.i:6:11: fatal error: unknown type name 'decltype'
  typedef decltype(nullptr)     nullptr_t;
          ^
0  clang           0x0000000001e1294f
1  clang           0x0000000001e1485a
2  libpthread.so.0 0x00007f95210fecb0
3  clang           0x00000000011759ed clang::Decl::CheckAccessDeclContext()
const + 13
4  clang           0x0000000000c2153d
5  clang           0x0000000000c26624
clang::InitializationSequence::InitializationSequence(clang::Sema&,
clang::InitializedEntity const&, clang::InitializationKind const&,
clang::Expr**, unsigned int) + 2596
6  clang           0x0000000000bf73c2
7  clang           0x0000000000bf7ddc
clang::Sema::BuildBinaryTypeTrait(clang::BinaryTypeTrait,
clang::SourceLocation, clang::TypeSourceInfo*, clang::TypeSourceInfo*,
clang::SourceLocation) + 748
8  clang           0x0000000000d28b6c
9  clang           0x0000000000d33bfb
10 clang           0x0000000000d3bf47
11 clang           0x0000000000d33b83
12 clang           0x0000000000d4361d
13 clang           0x0000000000d34adb
14 clang           0x0000000000d2ba38
15 clang           0x0000000000d2f198
16 clang           0x0000000000d2f768
17 clang           0x0000000000d2fae6
18 clang           0x0000000000d37198
19 clang           0x0000000000d39a54
20 clang           0x0000000000d26895
21 clang           0x0000000000d27842
22 clang           0x0000000000d29073
clang::Sema::SubstType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName) + 163
23 clang           0x0000000000d2942b
clang::Sema::SubstBaseSpecifiers(clang::CXXRecordDecl*, clang::CXXRecordDecl*,
clang::MultiLevelTemplateArgumentList const&) + 779
24 clang           0x0000000000d29a08
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool) + 664
25 clang           0x0000000000d2b35c
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) + 1244
26 clang           0x0000000000d7343b
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser&) + 1307
27 clang           0x0000000000a93061
clang::Sema::RequireCompleteDeclContext(clang::CXXScopeSpec&,
clang::DeclContext*) + 353
28 clang           0x0000000000bc687e
clang::Sema::BuildQualifiedDeclarationNameExpr(clang::CXXScopeSpec&,
clang::DeclarationNameInfo const&) + 110
29 clang           0x0000000000d3222f
30 clang           0x0000000000d3489b
31 clang           0x0000000000d3f120
32 clang           0x0000000000d34546
33 clang           0x0000000000d2ba38
34 clang           0x0000000000d2f198
35 clang           0x0000000000d2f768
36 clang           0x0000000000d2fae6
37 clang           0x0000000000d262ba
38 clang           0x0000000000d27842
39 clang           0x0000000000d29073
clang::Sema::SubstType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName) + 163
40 clang           0x0000000000d50909
clang::TemplateDeclInstantiator::InstantiateTypedefNameDecl(clang::TypedefNameDecl*,
bool) + 409
41 clang           0x0000000000d50b48
clang::TemplateDeclInstantiator::VisitTypedefDecl(clang::TypedefDecl*) + 24
42 clang           0x0000000000d2a53e
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool) + 3534
43 clang           0x0000000000d2b35c
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) + 1244
44 clang           0x0000000000d7343b
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser&) + 1307
45 clang           0x0000000000a93061
clang::Sema::RequireCompleteDeclContext(clang::CXXScopeSpec&,
clang::DeclContext*) + 353
46 clang           0x0000000000cb8449
clang::Sema::CheckTypenameType(clang::ElaboratedTypeKeyword,
clang::SourceLocation, clang::NestedNameSpecifierLoc, clang::IdentifierInfo
const&, clang::SourceLocation) + 217
47 clang           0x0000000000d310a9
48 clang           0x0000000000d26248
49 clang           0x0000000000d27842
50 clang           0x0000000000d29073
clang::Sema::SubstType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName) + 163
51 clang           0x0000000000d2942b
clang::Sema::SubstBaseSpecifiers(clang::CXXRecordDecl*, clang::CXXRecordDecl*,
clang::MultiLevelTemplateArgumentList const&) + 779
52 clang           0x0000000000d29a08
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool) + 664
53 clang           0x0000000000d2b35c
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) + 1244
54 clang           0x0000000000d7343b
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser&) + 1307
55 clang           0x0000000000b5f2b1
clang::Sema::CheckBaseSpecifier(clang::CXXRecordDecl*, clang::SourceRange,
bool, clang::AccessSpecifier, clang::TypeSourceInfo*, clang::SourceLocation) +
305
56 clang           0x0000000000d29467
clang::Sema::SubstBaseSpecifiers(clang::CXXRecordDecl*, clang::CXXRecordDecl*,
clang::MultiLevelTemplateArgumentList const&) + 839
57 clang           0x0000000000d29a08
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool) + 664
58 clang           0x0000000000d2b35c
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) + 1244
59 clang           0x0000000000d7343b
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser&) + 1307
60 clang           0x0000000000b5f2b1
clang::Sema::CheckBaseSpecifier(clang::CXXRecordDecl*, clang::SourceRange,
bool, clang::AccessSpecifier, clang::TypeSourceInfo*, clang::SourceLocation) +
305
61 clang           0x0000000000d29467
clang::Sema::SubstBaseSpecifiers(clang::CXXRecordDecl*, clang::CXXRecordDecl*,
clang::MultiLevelTemplateArgumentList const&) + 839
62 clang           0x0000000000d29a08
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool) + 664
63 clang           0x0000000000d2b35c
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) + 1244
64 clang           0x0000000000d7343b
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser&) + 1307
65 clang           0x0000000000b5f2b1
clang::Sema::CheckBaseSpecifier(clang::CXXRecordDecl*, clang::SourceRange,
bool, clang::AccessSpecifier, clang::TypeSourceInfo*, clang::SourceLocation) +
305
66 clang           0x0000000000d29467
clang::Sema::SubstBaseSpecifiers(clang::CXXRecordDecl*, clang::CXXRecordDecl*,
clang::MultiLevelTemplateArgumentList const&) + 839
67 clang           0x0000000000d29a08
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool) + 664
68 clang           0x0000000000d2b35c
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) + 1244
69 clang           0x0000000000d7343b
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser&) + 1307
70 clang           0x0000000000b5f2b1
clang::Sema::CheckBaseSpecifier(clang::CXXRecordDecl*, clang::SourceRange,
bool, clang::AccessSpecifier, clang::TypeSourceInfo*, clang::SourceLocation) +
305
71 clang           0x0000000000d29467
clang::Sema::SubstBaseSpecifiers(clang::CXXRecordDecl*, clang::CXXRecordDecl*,
clang::MultiLevelTemplateArgumentList const&) + 839
72 clang           0x0000000000d29a08
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool) + 664
73 clang           0x0000000000d2b35c
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) + 1244
74 clang           0x0000000000d7343b
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser&) + 1307
75 clang           0x0000000000a93061
clang::Sema::RequireCompleteDeclContext(clang::CXXScopeSpec&,
clang::DeclContext*) + 353
76 clang           0x0000000000cb8449
clang::Sema::CheckTypenameType(clang::ElaboratedTypeKeyword,
clang::SourceLocation, clang::NestedNameSpecifierLoc, clang::IdentifierInfo
const&, clang::SourceLocation) + 217
77 clang           0x0000000000d310a9
78 clang           0x0000000000d26248
79 clang           0x0000000000d27842
80 clang           0x0000000000d2bab4
81 clang           0x0000000000d2f198
82 clang           0x0000000000d2f768
83 clang           0x0000000000d2fae6
84 clang           0x0000000000d262ba
85 clang           0x0000000000d27842
86 clang           0x0000000000d29073
clang::Sema::SubstType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName) + 163
87 clang           0x0000000000d50909
clang::TemplateDeclInstantiator::InstantiateTypedefNameDecl(clang::TypedefNameDecl*,
bool) + 409
88 clang           0x0000000000d50b48
clang::TemplateDeclInstantiator::VisitTypedefDecl(clang::TypedefDecl*) + 24
89 clang           0x0000000000d2a53e
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool) + 3534
90 clang           0x0000000000d2b35c
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) + 1244
91 clang           0x0000000000d7343b
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser&) + 1307
92 clang           0x0000000000a93061
clang::Sema::RequireCompleteDeclContext(clang::CXXScopeSpec&,
clang::DeclContext*) + 353
93 clang           0x0000000000cb8449
clang::Sema::CheckTypenameType(clang::ElaboratedTypeKeyword,
clang::SourceLocation, clang::NestedNameSpecifierLoc, clang::IdentifierInfo
const&, clang::SourceLocation) + 217
94 clang           0x0000000000d310a9
95 clang           0x0000000000d26248
96 clang           0x0000000000d27842
97 clang           0x0000000000d29073
clang::Sema::SubstType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName) + 163
98 clang           0x0000000000d2942b
clang::Sema::SubstBaseSpecifiers(clang::CXXRecordDecl*, clang::CXXRecordDecl*,
clang::MultiLevelTemplateArgumentList const&) + 779
99 clang           0x0000000000d29a08
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool) + 664
100 clang           0x0000000000d2b35c
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) + 1244
101 clang           0x0000000000d7343b
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser&) + 1307
102 clang           0x0000000000b5f2b1
clang::Sema::CheckBaseSpecifier(clang::CXXRecordDecl*, clang::SourceRange,
bool, clang::AccessSpecifier, clang::TypeSourceInfo*, clang::SourceLocation) +
305
103 clang           0x0000000000d29467
clang::Sema::SubstBaseSpecifiers(clang::CXXRecordDecl*, clang::CXXRecordDecl*,
clang::MultiLevelTemplateArgumentList const&) + 839
104 clang           0x0000000000d29a08
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool) + 664
105 clang           0x0000000000d2b35c
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) + 1244
106 clang           0x0000000000d7343b
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser&) + 1307
107 clang           0x0000000000a93061
clang::Sema::RequireCompleteDeclContext(clang::CXXScopeSpec&,
clang::DeclContext*) + 353
108 clang           0x0000000000a941de
clang::Sema::BuildCXXNestedNameSpecifier(clang::Scope*, clang::IdentifierInfo&,
clang::SourceLocation, clang::SourceLocation, clang::QualType, bool,
clang::CXXScopeSpec&, clang::NamedDecl*, bool) + 1550
109 clang           0x0000000000d304a1
110 clang           0x0000000000d30ca2
111 clang           0x0000000000d37126
112 clang           0x0000000000d3924b
113 clang           0x0000000000d26907
114 clang           0x0000000000d27842
115 clang           0x0000000000d29073
clang::Sema::SubstType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName) + 163
116 clang           0x0000000000d50909
clang::TemplateDeclInstantiator::InstantiateTypedefNameDecl(clang::TypedefNameDecl*,
bool) + 409
117 clang           0x0000000000d50b48
clang::TemplateDeclInstantiator::VisitTypedefDecl(clang::TypedefDecl*) + 24
118 clang           0x0000000000d525e7 clang::Sema::SubstDecl(clang::Decl*,
clang::DeclContext*, clang::MultiLevelTemplateArgumentList const&) + 119
119 clang           0x0000000000d44044
120 clang           0x0000000000d45e51
121 clang           0x0000000000d44917
122 clang           0x0000000000d470df clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&) + 79
123 clang           0x0000000000d5ab53
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 803
124 clang           0x0000000000d5a511
clang::Sema::PerformPendingInstantiations(bool) + 657
125 clang           0x0000000000d5abe2
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 946
126 clang           0x0000000000d5a511
clang::Sema::PerformPendingInstantiations(bool) + 657
127 clang           0x0000000000a82642 clang::Sema::ActOnEndOfTranslationUnit()
+ 466
128 clang           0x00000000009f9096
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 374
129 clang           0x00000000009f0c4d clang::ParseAST(clang::Sema&, bool,
bool) + 509
130 clang           0x0000000000749551 clang::FrontendAction::Execute() + 145
131 clang           0x000000000072a734
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 340
132 clang           0x0000000000710b36
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1478
133 clang           0x0000000000708458 cc1_main(char const**, char const**,
char const*, void*) + 776
134 clang           0x00000000006f48d3 main + 787
135 libc.so.6       0x00007f952033d76d __libc_start_main + 237
136 clang           0x0000000000705f01
Stack dump:
0.    Program arguments: clang -cc1 -triple i686-unknown-linux -emit-llvm-bc
-disable-free -mrelocation-model static -fmath-errno -target-linker-version
2.20.1 -momit-leaf-frame-pointer -nostdsysteminc -nobuiltininc -O2 -Wall
-Wfatal-errors -Wno-overloaded-virtual -Wno-variadic-macros -Wno-long-long
-fdeprecated-macro -fno-dwarf-directory-asm -mstackrealign -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fno-common -fdiagnostics-show-option
-fcolor-diagnostics -x c++ testcase-min-linux.i 
1.    <eof> parser at end of file
2.    testcase-min-linux.i:630:32: instantiating function definition
'media_yahoo'
3.    testcase-min-linux.i:610:9: instantiating function definition
'bazo_media'
Segmentation fault (core dumped)


=====================================


When you change the commandline slightly, e.g., if you truncate
i686-unknown-linux to i686-unkn-linux, it will not crash.


Valgrind memcheck shows:



==4242== Invalid read of size 8
==4242==    at 0xC2152C: ??? (in /usr/local/llvm-install/bin/clang)
==4242==    by 0xC26623:
clang::InitializationSequence::InitializationSequence(clang::Sema&,
clang::InitializedEntity const&, clang::InitializationKind const&,
clang::Expr**, unsigned int) (in /usr/local/llvm-install/bin/clang)
==4242==    by 0xBF73C1: ??? (in /usr/local/llvm-install/bin/clang)
==4242==    by 0xBF7DDB:
clang::Sema::BuildBinaryTypeTrait(clang::BinaryTypeTrait,
clang::SourceLocation, clang::TypeSourceInfo*, clang::TypeSourceInfo*,
clang::SourceLocation) (in /usr/local/llvm-install/bin/clang)
==4242==    by 0xD28B6B: ??? (in /usr/local/llvm-install/bin/clang)
==4242==    by 0xD33BFA: ??? (in /usr/local/llvm-install/bin/clang)
==4242==    by 0xD3BF46: ??? (in /usr/local/llvm-install/bin/clang)
==4242==    by 0xD33B82: ??? (in /usr/local/llvm-install/bin/clang)
==4242==    by 0xD4361C: ??? (in /usr/local/llvm-install/bin/clang)
==4242==    by 0xD34ADA: ??? (in /usr/local/llvm-install/bin/clang)
==4242==    by 0xD2BA37: ??? (in /usr/local/llvm-install/bin/clang)
==4242==    by 0xD2F197: ??? (in /usr/local/llvm-install/bin/clang)
==4242==  Address 0x5fad830 is 32 bytes inside a block of size 56 free'd
==4242==    at 0x4C2CDFD: operator delete(void*)
(/home/samsonov/valgrind-variant/valgrind-test/coregrind/m_replacemalloc/vg_replace_malloc.c:456)
==4242==    by 0x117A357: ??? (in /usr/local/llvm-install/bin/clang)
==4242==    by 0x1177719: ??? (in /usr/local/llvm-install/bin/clang)
==4242==    by 0x117788D:
clang::DeclContext::makeDeclVisibleInContextImpl(clang::NamedDecl*, bool) (in
/usr/local/llvm-install/bin/clang)
==4242==    by 0x1178274:
clang::DeclContext::makeDeclVisibleInContextWithFlags(clang::NamedDecl*, bool,
bool) (in /usr/local/llvm-install/bin/clang)
==4242==    by 0xB51364:
clang::Sema::DeclareImplicitDestructor(clang::CXXRecordDecl*) (in
/usr/local/llvm-install/bin/clang)
==4242==    by 0xC3F1E6:
clang::Sema::LookupSpecialMember(clang::CXXRecordDecl*,
clang::Sema::CXXSpecialMember, bool, bool, bool, bool, bool) (in
/usr/local/llvm-install/bin/clang)
==4242==    by 0xC3F3F4: clang::Sema::LookupDestructor(clang::CXXRecordDecl*)
(in /usr/local/llvm-install/bin/clang)
==4242==    by 0xBFC452: clang::Sema::MaybeBindToTemporary(clang::Expr*) (in
/usr/local/llvm-install/bin/clang)
==4242==    by 0xC1FBA4: ??? (in /usr/local/llvm-install/bin/clang)
==4242==    by 0xC29405: clang::InitializationSequence::Perform(clang::Sema&,
clang::InitializedEntity const&, clang::InitializationKind const&,
llvm::MutableArrayRef<clang::Expr*>, clang::QualType*) (in
/usr/local/llvm-install/bin/clang)
==4242==    by 0xBF7924: ??? (in /usr/local/llvm-install/bin/clang)


Perhaps that invalid read is related to the crash (since the crash also has
InitializationSequence in the stack).

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list