[LLVMbugs] [Bug 20842] New: clang -fsanitize=address is extremely slow on unittests/Support/ConvertUTFTest.cpp

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 3 18:14:08 PDT 2014


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

            Bug ID: 20842
           Summary: clang -fsanitize=address is extremely slow on
                    unittests/Support/ConvertUTFTest.cpp
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: vonosmas at gmail.com
                CC: dgregor at apple.com, kcc at google.com,
                    llvmbugs at cs.uiuc.edu
    Classification: Unclassified

ASan bootstrap on the buildbot is currently broken because the compilation of
unittests/Support/ConvertUTFTest.cpp times out.

The guilty pass is MachineSinking::runOnMachineFunction()

The source file in question has 1500-line function with hundreds of EXPECT_TRUE
statements. I haven't yet figured out what change slowed things down that
significantly.

To reproduce, build LLVM with clang as a host compiler and
-DCMAKE_BUILD_TYPE=Release -DLLVM_USE_SANITIZER=Address and run "make
check-llvm"
(or just use preprocessed .cpp and .sh file attached).

-- 
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/20140904/a4404696/attachment.html>


More information about the llvm-bugs mailing list