[llvm-bugs] [Bug 30334] New: Memory Sanitizer causes several orders of magnitude longer compile time
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Sep 8 15:39:30 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30334
Bug ID: 30334
Summary: Memory Sanitizer causes several orders of magnitude
longer compile time
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Miscellaneous Instrumentation passes
Assignee: unassignedbugs at nondot.org
Reporter: kfischer at college.harvard.edu
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17227
--> https://llvm.org/bugs/attachment.cgi?id=17227&action=edit
Preprocessed source
On clang 4.0 trunk, running memory sanitizer on the attached file takes a very
long time (not sure how long, it's still running). Without memory sanitizer,
the file compiles in a ~3-4 seconds. Preprocessed source is attached. Generated
reproduction command line is:
```
"clang-4.0" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj"
"-mrelax-all" "-disable-free" "-disable-llvm-verifier" "-discard-value-names"
"-main-file-name" "kernel_metadata.cc" "-mrelocation-model" "static"
"-mthread-model" "posix" "-mdisable-fp-elim" "-fmath-errno" "-masm-verbose"
"-mconstructor-aliases" "-munwind-tables" "-fuse-init-array" "-target-cpu"
"x86-64" "-dwarf-column-info" "-debug-info-kind=limited" "-dwarf-version=4"
"-debugger-tuning=gdb" "-coverage-notes-file"
"/home/keno/rr-vanilla-msan/CMakeFiles/rr.dir/src/kernel_metadata.cc.gcno" "-D"
"RR_VERSION=\"4.3.0\"" "-D" "__USE_LARGEFILE64" "-D" "__STDC_LIMIT_MACROS" "-D"
"__STDC_FORMAT_MACROS" "-O0" "-Wall" "-Wextra"
"-Wno-unused-command-line-argument" "-Werror" "-std=c++0x" "-fdeprecated-macro"
"-ferror-limit" "19" "-fmessage-length" "0" "-fsanitize=memory"
"-fsanitize-blacklist=/data/llvm-build/bin/../lib/clang/4.0.0/msan_blacklist.txt"
"-fsanitize-memory-track-origins=2" "-fno-assume-sane-operator-new" "-pthread"
"-fobjc-runtime=gcc" "-fcxx-exceptions" "-fexceptions"
"-fdiagnostics-show-option" "-x" "c++" "kernel_metadata-68e491.cpp"
```
--
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/20160908/0b6318d8/attachment.html>
More information about the llvm-bugs
mailing list