[LLVMbugs] [Bug 16597] New: Clang spends too much time in clang::Sema::ArgumentDependentLookup after r186040

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 11 06:27:19 PDT 2013


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

            Bug ID: 16597
           Summary: Clang spends too much time in
                    clang::Sema::ArgumentDependentLookup after r186040
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: glider at google.com
                CC: llvmbugs at cs.uiuc.edu, richard-llvm at metafoo.co.uk
    Classification: Unclassified

It takes infinite time for Clang r186040 to compiler the attached file with the
following flags:

$ clang ImageDocument.ii -c  -w -std=gnu++11

r186039 works just fine.

According to perf, most of the time is spent in
clang::Sema::ArgumentDependentLookup():

 83.18%  clang-3.3  clang-3.3            [.]
clang::Sema::ArgumentDependentLookup(clang::DeclarationName, bool,
clang::SourceLocation, llvm::ArrayRef<clang::Expr*>, clang::ADLResult&)
 15.83%  clang-3.3  clang-3.3            [.]
clang::FunctionDecl::getPreviousDeclImpl()

-- 
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/20130711/7f5ab949/attachment.html>


More information about the llvm-bugs mailing list