[LLVMbugs] [Bug 14106] New: clang::SourceManager::getColumnNumber doesn't scale

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 16 22:53:17 PDT 2012


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

             Bug #: 14106
           Summary: clang::SourceManager::getColumnNumber doesn't scale
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: markus at trippelsdorf.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9362
  --> http://llvm.org/bugs/attachment.cgi?id=9362
testcase from glibc

Clang takes over 15 minutes to compile the attached test-case
from the glibc test-suite:

 % time clang -w -fno-builtin -O2 -g test-tgmath2.i
clang -w -fno-builtin -O2 -g test-tgmath2.i  925.02s user 0.74s system 99% cpu
15:28.46 total

"perf top" shows that most of the cpu-time is spend in:
 clang::SourceManager::getColumnNumber

gcc-4.7 with "--param max-vartrack-size=0" (unlimited hash table slots) only
takes 1:44.47 total.

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