[LLVMbugs] [Bug 20131] New: Crash in clang-cl with RTTI and fallback mode enabled

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 25 21:00:14 PDT 2014


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

            Bug ID: 20131
           Summary: Crash in clang-cl with RTTI and fallback mode enabled
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ehsan at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ cat empty.cpp                                                                 
int main() {f();}                                                               

$ clang-cl -fallback -GR empty.cpp                                              
clang-cl.exe: warning: cannot compile RTTI yet, falling back to c:\Program
Files (
x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.exe                                 
empty.cpp                                                                       
empty.cpp(1) : error C3861: 'f': identifier not found                           
Stack dump:                                                                     
0.      Program arguments: c:\moz\llvm-objdir\RelWithDebInfo\bin\clang-cl.exe
-fal
lback -GR empty.cpp                                                             
0x0370FA48 (0x025083D8 0x0370E338 0x03849C20 0x00000000) <unknown module>       
0x003FCCF8 (0x00000004 0x038452D0 0x03841AE8 0x5C49680D), main() + 0x988
bytes(s),
 c:\moz\llvm\tools\clang\tools\driver\driver.cpp, line 421 + 0x7 byte(s)        
0x01D39A2E (0x7EFDE000 0x0370FB28 0x77529F72 0x7EFDE000), __tmainCRTStartup() +
0x
FD bytes(s), f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c, line 536 + 0x17
byte
(s)                                                                             
0x76ED338A (0x7EFDE000 0x77B264EB 0x00000000 0x00000000), BaseThreadInitThunk()
+ 
0x12 bytes(s)                                                                   
0x77529F72 (0x01D39ADC 0x7EFDE000 0x00000000 0x00000000),
RtlInitializeExceptionCh
ain() + 0x63 bytes(s)                                                           
0x77529F45 (0x01D39ADC 0x7EFDE000 0x00000000 0x00000000),
RtlInitializeExceptionCh
ain() + 0x36 bytes(s)                                                           


This reproduces on trunk as of a few hours ago.

-- 
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/20140626/4e4d0f68/attachment.html>


More information about the llvm-bugs mailing list