[llvm-bugs] [Bug 26917] New: Assertion failed: (I != Vec.end() && "list does not contain decl"), function remove, file ../../tools/clang/include/clang/AST/DeclContextInternals.h, line 116.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 11 13:07:12 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26917

            Bug ID: 26917
           Summary: Assertion failed: (I != Vec.end() && "list does not
                    contain decl"), function remove, file
                    ../../tools/clang/include/clang/AST/DeclContextInterna
                    ls.h, line 116.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: compnerd at compnerd.org
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

#!/bin/bash

cat > reduced.c <<-EOF
  #import <resolv.h>
EOF

mkdir -p "${PWD}/ModuleCache"
bin/clang -cc1 -triple x86_64-apple-macosx10.11.0 -emit-pch -fmodules
-fimplicit-module-maps -fmodules-cache-path=${PWD}/ModuleCache -o $$.pch.pch -x
c-header - <<< '#include <dlfcn.h>'
bin/clang -cc1 -triple x86_64-apple-macosx10.11.0 -emit-obj -include-pch
$$.pch.pch -fmodules -fimplicit-module-maps
-fmodules-cache-path=${PWD}/ModuleCache -o $$.o -x c reduced.c

This relies on a Darwin host due to the header usage.  Ive not had a chance to
reduce this further into a standalone test case unfortunately.  This was
against SVN r263285.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160311/c012a8c5/attachment.html>


More information about the llvm-bugs mailing list