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: unassignedb...@nondot.org
          Reporter: sph...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to