[LLVMbugs] [Bug 17282] New: clang++ crashes in LLVM IR generation of declaration 'main'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 19 00:18:40 PDT 2013


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

            Bug ID: 17282
           Summary: clang++ crashes in LLVM IR generation of declaration
                    'main'
           Product: clang
           Version: 3.3
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: konstantin.stupnik at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

0  clang             0x00000001017bab4f main + 24872415
1  clang             0x00000001017bae74 main + 24873220
2  libsystem_c.dylib 0x00007fff8bfea90a _sigtramp + 26
3  clang             0x000000010006a781 main + 426513
4  clang             0x00000001001a7a35 main + 1725637
5  clang             0x00000001001a41f4 main + 1711236
6  clang             0x000000010020ee33 main + 2148547
7  clang             0x00000001001aac91 main + 1738529
8  clang             0x00000001001a79f0 main + 1725568
9  clang             0x00000001001a41f4 main + 1711236
10 clang             0x00000001001a13f1 main + 1699457
11 clang             0x00000001008befb8 main + 9161288
12 clang             0x00000001001f1b40 main + 2029008
13 clang             0x00000001001fed9b main + 2082859
14 clang             0x00000001001f0a79 main + 2024713
15 clang             0x00000001001f7cfa main + 2054026
16 clang             0x00000001008a2c0b main + 9045659
17 clang             0x00000001008a1c66 main + 9041654
18 clang             0x00000001002029a1 main + 2098225
19 clang             0x0000000100884d52 main + 8923106
20 clang             0x00000001008a015f main + 9034735
21 clang             0x000000010020146e main + 2092798
22 clang             0x000000010020117b main + 2092043
23 clang             0x00000001001f0a97 main + 2024743
24 clang             0x00000001001f7cfa main + 2054026
25 clang             0x00000001001ea2e9 main + 1998201
26 clang             0x00000001001cc96b main + 1876987
27 clang             0x000000010019ef13 main + 1690019
28 clang             0x000000010019e3b8 main + 1687112
29 clang             0x00000001000bf10c main + 773020
30 clang             0x0000000100094f29 main + 600505
31 clang             0x0000000100094d5f main + 600047
32 clang             0x0000000100094c24 main + 599732
33 clang             0x000000010005f462 main + 380658
34 clang             0x000000010005c384 main + 368148
35 clang             0x000000010005b235 main + 363717
36 clang             0x00000001000276cd main + 151901
37 clang             0x00000001000081c0 main + 23632
38 libdyld.dylib     0x00007fff8e14c7e1 start + 0
Stack dump:
0.    Program arguments: /usr/bin/clang -cc1 -triple x86_64-apple-macosx10.8.0
-emit-llvm-bc -disable-free -disable-llvm-verifier -main-file-name
benchmark.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim
-masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 224.1
-resource-dir /usr/bin/../lib/clang/5.0 -O3 -fdeprecated-macro
-fdebug-compilation-dir /Users/skv/Documents/cpp/tests/hashtree -ferror-limit
19 -fmessage-length 145 -stack-protector 1 -mstackrealign -fblocks
-fobjc-runtime=macosx-10.8.0 -fobjc-dispatch-method=mixed
-fobjc-default-synthesize-properties -fencode-extended-block-signature
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o
/var/folders/8z/0sdcjrk500xgylfx_rzm99fc0000z8/T/benchmark-tmDhb3.o -x c++
benchmark.cpp
1.    <eof> parser at end of file
2.    benchmark.cpp:400:5: LLVM IR generation of declaration 'main'
3.    benchmark.cpp:400:5: Generating code for declaration 'main'

-- 
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/20130919/290c1613/attachment.html>


More information about the llvm-bugs mailing list