[LLVMbugs] [Bug 19163] New: Excessive compile time when using -fsanitize=undefined
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Mar 17 08:03:29 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19163
Bug ID: 19163
Summary: Excessive compile time when using -fsanitize=undefined
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: octoploid at yandex.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
The attached file takes almost 9 minutes to compile on my machine:
markus at x4 blink % time clang++ -fsanitize=undefined -fno-sanitize=vptr -c
-Qunused-arguments -Qunused-arguments -Wall -Wpointer-arith
-Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast
-Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof
-Wno-inline-new-delete -Wno-c++0x-extensions -Wno-extended-offsetof
-Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags
-march=native -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions
-fno-math-errno -std=gnu++0x -pthread -pipe -DDEBUG -D_DEBUG -DTRACING -g -O3
-fno-omit-frame-pointer Unified_cpp_content_media_webaudio_blink0.ii
clang++ -fsanitize=undefined -fno-sanitize=vptr -c -Qunused-arguments -Wall
531.00s user 0.09s system 100% cpu 8:51.00 total
Without -fsanitize=undefined it takes 3.3 seconds.
Perf shows:
61.78% libLLVMCodeGen.so [.] (anonymous
namespace)::InlineSpiller::propagateSiblingValue(llvm::DenseMapIterator<llvm::VNInfo*,
(anonymous namespace)::InlineSpille
12.88% libLLVMCodeGen.so [.] (anonymous
namespace)::InlineSpiller::traceSiblingValue(unsigned int, llvm::VNInfo*,
llvm::VNInfo*)
...
--
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/20140317/242ebe1b/attachment.html>
More information about the llvm-bugs
mailing list