<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Regression(likely r326602): Assertion failed: (Idx >= 1 && "stored index must be base-1"), function getLLVMIndex, file /b/build/slave/clang-tot-device/build/src/third_party/llvm/tools/clang/include/clang/AST/Attr.h, line 282."
   href="https://bugs.llvm.org/show_bug.cgi?id=36620">36620</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Regression(likely r326602): Assertion failed: (Idx >= 1 && "stored index must be base-1"), function getLLVMIndex, file /b/build/slave/clang-tot-device/build/src/third_party/llvm/tools/clang/include/clang/AST/Attr.h, line 282.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nicolasweber@gmx.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>We're getting this on our chromium ios trunk bot. Stack:

Assertion failed: (Idx >= 1 && "stored index must be base-1"), function
getLLVMIndex, file
/b/build/slave/clang-tot-device/build/src/third_party/llvm/tools/clang/include/clang/AST/Attr.h,
line 282.
0  clang++                  0x000000010fb8e5b8
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
1  clang++                  0x000000010fb8ec76 SignalHandler(int) + 470
2  libsystem_platform.dylib 0x00007fffa2f43b3a _sigtramp + 26
3  libsystem_platform.dylib 0xff80000000001012 _sigtramp + 1561056498
4  libsystem_c.dylib        0x00007fffa2dc8420 abort + 129
5  libsystem_c.dylib        0x00007fffa2d8f893 basename_r + 0
6  clang++                  0x000000010fdee216
clang::CodeGen::CodeGenModule::ConstructAttributeList(llvm::StringRef,
clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCalleeInfo,
llvm::AttributeList&, unsigned int&, bool) + 5590
7  clang++                  0x000000010ffb1731
clang::CodeGen::CodeGenModule::SetFunctionAttributes(clang::GlobalDecl,
llvm::Function*, bool, bool) + 225
8  clang++                  0x000000010ffb4494
clang::CodeGen::CodeGenModule::GetOrCreateLLVMFunction(llvm::StringRef,
llvm::Type*, clang::GlobalDecl, bool, bool, bool, llvm::AttributeList,
clang::CodeGen::ForDefinition_t) + 1796
9  clang++                  0x000000010ffb85df
clang::CodeGen::CodeGenModule::GetAddrOfFunction(clang::GlobalDecl,
llvm::Type*, bool, bool, clang::CodeGen::ForDefinition_t) + 223
10 clang++                  0x000000010fe67717
EmitFunctionDeclPointer(clang::CodeGen::CodeGenModule&, clang::FunctionDecl
const*) + 103
11 clang++                  0x000000010fe60e59
EmitFunctionDeclLValue(clang::CodeGen::CodeGenFunction&, clang::Expr const*,
clang::FunctionDecl const*) + 41
12 clang++                  0x000000010fe55a8c
clang::CodeGen::CodeGenFunction::EmitDeclRefLValue(clang::DeclRefExpr const*) +
2028
13 clang++                  0x000000010fe4bee6
clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) + 838
14 clang++                  0x000000010fe9b8d8 (anonymous
namespace)::ScalarExprEmitter::VisitCastExpr(clang::CastExpr*) + 1624
15 clang++                  0x000000010fe8bc88
clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) + 104
16 clang++                  0x000000010fdab10f
clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(clang::FunctionDecl const*,
unsigned int, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) + 55135
17 clang++                  0x000000010fe647c1
clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*,
clang::CodeGen::ReturnValueSlot) + 305
18 clang++                  0x000000010fe98af4 (anonymous
namespace)::ScalarExprEmitter::VisitCallExpr(clang::CallExpr const*) + 180
19 clang++                  0x000000010fe9b315 (anonymous
namespace)::ScalarExprEmitter::VisitCastExpr(clang::CastExpr*) + 149
20 clang++                  0x000000010fe8bc88
clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) + 104
21 clang++                  0x000000010fe361ae
clang::CodeGen::CodeGenFunction::EmitScalarInit(clang::Expr const*,
clang::ValueDecl const*, clang::CodeGen::LValue, bool) + 158
22 clang++                  0x000000010fe394aa
clang::CodeGen::CodeGenFunction::EmitExprAsInit(clang::Expr const*,
clang::ValueDecl const*, clang::CodeGen::LValue, bool) + 314
23 clang++                  0x000000010fe0197b
clang::CodeGen::CodeGenFunction::EmitInitializerForField(clang::FieldDecl*,
clang::CodeGen::LValue, clang::Expr*) + 315
24 clang++                  0x000000010fe0b7d2
EmitMemberInitializer(clang::CodeGen::CodeGenFunction&, clang::CXXRecordDecl
const*, clang::CXXCtorInitializer*, clang::CXXConstructorDecl const*,
clang::CodeGen::FunctionArgList&) + 1058
25 clang++                  0x000000010fe0311d
clang::CodeGen::CodeGenFunction::EmitCtorPrologue(clang::CXXConstructorDecl
const*, clang::CXXCtorType, clang::CodeGen::FunctionArgList&) + 1933
26 clang++                  0x000000010fe02475
clang::CodeGen::CodeGenFunction::EmitConstructorBody(clang::CodeGen::FunctionArgList&)
+ 341
27 clang++                  0x000000010ffa0a2a
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 522
28 clang++                  0x000000010fde2b37
clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::CXXMethodDecl const*,
clang::CodeGen::StructorType) + 327
29 clang++                  0x0000000110021ef9 (anonymous
namespace)::ItaniumCXXABI::emitCXXStructor(clang::CXXMethodDecl const*,
clang::CodeGen::StructorType) + 889
30 clang++                  0x000000010ffb28d1
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl,
llvm::GlobalValue*) + 337
31 clang++                  0x000000010ffaabc5
clang::CodeGen::CodeGenModule::EmitDeferred() + 229
32 clang++                  0x000000010ffaabed
clang::CodeGen::CodeGenModule::EmitDeferred() + 269
33 clang++                  0x000000010ffaabed
clang::CodeGen::CodeGenModule::EmitDeferred() + 269
34 clang++                  0x000000010ffaabed
clang::CodeGen::CodeGenModule::EmitDeferred() + 269
35 clang++                  0x000000010ffaabed
clang::CodeGen::CodeGenModule::EmitDeferred() + 269
36 clang++                  0x000000010ffaabed
clang::CodeGen::CodeGenModule::EmitDeferred() + 269
37 clang++                  0x000000010ffaabed
clang::CodeGen::CodeGenModule::EmitDeferred() + 269
38 clang++                  0x000000010ffaa10a
clang::CodeGen::CodeGenModule::Release() + 42
39 clang++                  0x000000011003eda4 (anonymous
namespace)::CodeGeneratorImpl::HandleTranslationUnit(clang::ASTContext&) + 100
40 clang++                  0x000000010ff97a27
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 119
41 clang++                  0x000000011020bc0c
clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) + 44
42 clang++                  0x0000000110b8c684 clang::ParseAST(clang::Sema&,
bool, bool) + 516
43 clang++                  0x00000001101e24bc clang::FrontendAction::Execute()
+ 76
44 clang++                  0x000000011019a9d1
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1233
45 clang++                  0x000000011022f978
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1736
46 clang++                  0x000000010e2b5b0b cc1_main(llvm::ArrayRef<char
const*>, char const*, void*) + 1499
47 clang++                  0x000000010e2b37c7 main + 10903
48 libdyld.dylib            0x00007fffa2d34235 start + 1


Don't have a repro yet, will attach it later today hopefully.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>