[LLVMbugs] [Bug 8128] New: Index/complete-at-exprstmt.m

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 10 20:13:25 PDT 2010


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

           Summary: Index/complete-at-exprstmt.m
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nicholas at mxc.ca
                CC: llvmbugs at cs.uiuc.edu


This is a 2.8 blocker. On make check, test/Index/complete-at-exprstmt.m fails
in release mode:

Unhandled CXCursorKind
UNREACHABLE executed at
/home/nicholas/2.8-rc1/llvmCore-2.8-rc1.src/tools/clang/tools/libclang/CIndex.cpp:2581!
0  libclang.so     0x00002b8eb19a64bf
1  libclang.so     0x00002b8eb19a6b49
2  libpthread.so.0 0x00002b8eb1c1df60
3  libc.so.6       0x00002b8eb280e420 sigprocmask + 16
4  libclang.so     0x00002b8eb1984098
5  libpthread.so.0 0x00002b8eb1c1df60
6  libc.so.6       0x00002b8eb280e165 gsignal + 53
7  libc.so.6       0x00002b8eb2810f70 abort + 384
8  libclang.so     0x00002b8eb198663d
9  libclang.so     0x00002b8eb14bdb29 clang_getCursorKindSpelling + 873
10 c-index-test    0x0000000000404169
11 c-index-test    0x000000000040626f
12 c-index-test    0x00000000004067cf main + 79
13 libc.so.6       0x00002b8eb27fac4d __libc_start_main + 253
14 c-index-test    0x0000000000402b79
Aborted
/home/nicholas/2.8-rc1/llvmCore-2.8-rc1.src/tools/clang/test/Index/complete-at-exprstmt.m:30:15:
error: expected string not found in input
// CHECK-CC2: {TypedText encode}{LeftParen (}{Placeholder type-name}{RightParen
)}
              ^
<stdin>:1:1: note: scanning from here
NotImplemented:{TypedText dynamic}{HorizontalSpace }{Placeholder property} (30)
^
<stdin>:1:16: note: possible intended match here
NotImplemented:{TypedText dynamic}{HorizontalSpace }{Placeholder property} (30)
               ^
--

The log shows that it ran: 

c-index-test
-code-completion-at=/home/nicholas/2.8-rc1/llvmCore-2.8-rc1.src/too
ls/clang/test/Index/complete-at-exprstmt.m:9:19 -Xclang
-code-completion-pattern
s
/home/nicholas/2.8-rc1/llvmCore-2.8-rc1.src/tools/clang/test/Index/complete-at
-exprstmt.m

but of course, running that myself with the c-index-test built by
test-release.sh doesn't reproduce the problem. It's even valgrind-clean.

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