[LLVMbugs] [Bug 10878] New: Segmentation fault in clang::FunctionDecl::getParamDecl(unsigned int)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 6 19:31:28 PDT 2011


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

           Summary: Segmentation fault in
                    clang::FunctionDecl::getParamDecl(unsigned int)
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7231)
 --> (http://llvm.org/bugs/attachment.cgi?id=7231)
Failing input

Beginning of stack trace:

0  clang           0x0000000002a1657d
1  clang           0x0000000002a16379
2  libpthread.so.0 0x00007fc99be1dc60
3  clang           0x000000000155e181
clang::FunctionDecl::getParamDecl(unsigned int) + 81
4  clang           0x000000000162cc13
clang::Sema::GatherArgumentsForCall(clang::SourceLocation,
clang::FunctionDecl*, clang::FunctionProtoType const*, unsigned int,
clang::Expr**, unsigned int, llvm::SmallVector<clang::Expr*, 8u>&,
clang::Sema::VariadicCallType) + 405
5  clang           0x000000000162c9f7
clang::Sema::ConvertArgumentsForCall(clang::CallExpr*, clang::Expr*,
clang::FunctionDecl*, clang::FunctionProtoType const*, clang::Expr**, unsigned
int, clang::SourceLocation) + 1271
6  clang           0x000000000162e2d8
clang::Sema::BuildResolvedCallExpr(clang::Expr*, clang::NamedDecl*,
clang::SourceLocation, clang::Expr**, unsigned int, clang::SourceLocation,
clang::Expr*) + 2066
7  clang           0x000000000162d7d4 clang::Sema::ActOnCallExpr(clang::Scope*,
clang::Expr*, clang::SourceLocation, clang::ASTMultiPtr<clang::Expr*>,
clang::SourceLocation, clang::Expr*) + 2024
8  clang           0x000000000150d651
clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*,
true>) + 2503
9  clang           0x000000000150cc78 clang::Parser::ParseCastExpression(bool,
bool, bool&, bool) + 7378

Pre-processed input is attached.

-- 
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