[LLVMbugs] [Bug 3902] New: clang -ftime-report assertion failure on exit

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Mar 29 07:59:18 PDT 2009


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

           Summary: clang -ftime-report assertion failure on exit
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Using SVN r67994:
$ clang -ftime-report x.c
===-------------------------------------------------------------------------===
                      Instruction Selection and Scheduling
===-------------------------------------------------------------------------===
  Total Execution Time: 0.0000 seconds (0.0001 wall clock)

   ---Wall Time---  --- Name ---
   0.0000 ( 38.4%)  DAG Legalization
   0.0000 ( 15.9%)  Type Legalization
   0.0000 ( 14.1%)  Instruction Scheduling
   0.0000 ( 13.5%)  Instruction Selection
   0.0000 (  8.8%)  Instruction Creation
   0.0000 (  5.5%)  DAG Combining 1
   0.0000 (  2.2%)  DAG Combining 2
   0.0000 (  1.2%)  Instruction Scheduling Cleanup
   0.0001 (100.0%)  TOTAL

===-------------------------------------------------------------------------===
                      ... Pass execution timing report ...
===-------------------------------------------------------------------------===
  Total Execution Time: 0.0000 seconds (0.0005 wall clock)

   ---Wall Time---  --- Name ---
   0.0003 ( 63.7%)  X86 DAG->DAG Instruction Selection
   0.0000 ( 11.3%)  X86 AT&T-Style Assembly Printer
   0.0000 (  5.2%)  Prolog/Epilog Insertion & Frame Finalization
   0.0000 (  4.3%)  Local Register Allocator
   0.0000 (  3.5%)  Module Verifier
   0.0000 (  2.2%)  Two-Address instruction pass
   0.0000 (  2.0%)  Dominator Tree Construction
   0.0000 (  1.2%)  Remove dead machine instructions
   0.0000 (  1.1%)  Machine Code Deleter
   0.0000 (  0.9%)  Basic CallGraph Construction
   0.0000 (  0.6%)  Inliner for always_inline functions
   0.0000 (  0.4%)  X86 FP_REG_KILL inserter
   0.0000 (  0.3%)  Eliminate PHI nodes for register allocation
   0.0000 (  0.3%)  X86 FP Stackifier
   0.0000 (  0.3%)  Label Folder
   0.0000 (  0.3%)  X86 Maximal Stack Alignment Calculator
   0.0000 (  0.3%)  Remove unreachable blocks from the CFG
   0.0000 (  0.3%)  Delete Garbage Collector Information
   0.0000 (  0.1%)  Subregister lowering instruction pass
   0.0000 (  0.1%)  Analyze Machine Code For Garbage Collection
   0.0000 (  0.1%)  Insert stack protectors
   0.0000 (  0.1%)  Lower Garbage Collection Instructions
   0.0000 (  0.1%)  Target Data Layout
   0.0000 (  0.1%)  Preliminary module verification
   0.0005 (100.0%)  TOTAL

clang-cc: /home/edwin/llvm-svn/llvm/include/llvm/Support/Timer.h:158:
llvm::TimerGroup::~TimerGroup(): Assertion `NumTimers == 0 && "TimerGroup
destroyed before all contained timers!"' failed.
0   clang-cc        0x0000000000fbf01f
1   clang-cc        0x0000000000fbf409
2   libpthread.so.0 0x00007f196d9137b0
3   libc.so.6       0x00007f196cc3a105 gsignal + 53
4   libc.so.6       0x00007f196cc3b623 abort + 387
5   libc.so.6       0x00007f196cc33149 __assert_fail + 233
6   clang-cc        0x0000000000cba90c llvm::TimerGroup::~TimerGroup() + 124
7   libc.so.6       0x00007f196cc3ccad exit + 157
8   libc.so.6       0x00007f196cc265ad __libc_start_main + 237
9   clang-cc        0x00000000004297a9


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