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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to