[llvm-bugs] [Bug 28786] New: Long hang (infinite loop?) with -msan-keep-going

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jul 30 21:00:25 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28786

            Bug ID: 28786
           Summary: Long hang (infinite loop?) with -msan-keep-going
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Register Allocator
          Assignee: unassignedbugs at nondot.org
          Reporter: sphink at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Attempting to compile the attached file with this command line:

clang++ -std=gnu++11 -x c++ -o hang-regalloc.o hang-regalloc.i -fPIC
-fsanitize=memory -fsanitize-recover=memory -fsanitize-memory-track-origins
-mllvm -msan-keep-going -fno-rtti -fno-exceptions -fno-math-errno
-Qunused-arguments -pthread -pipe -gline-tables-only -O3
-fno-omit-frame-pointer -Wno-invalid-offsetof 

hangs for as long as I've ever bothered to wait (at least half an hour).
Attaching with gdb shows that it is doing stuff, but the call

llvm::RegAllocBase::allocatePhysRegs()

never finishes.

% clang++ --version
clang version 3.8.0 (tags/RELEASE_380/final) (llvm/tags/RELEASE_380/final
262557)
Target: x86_64-unknown-linux-gnu
Thread model: posix

I have not tried with any other version.

-- 
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/20160731/ea51c18c/attachment.html>


More information about the llvm-bugs mailing list