[LLVMbugs] [Bug 11872] New: Large stack object causes llc to use up all memory

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 27 10:24:05 PST 2012


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

             Bug #: 11872
           Summary: Large stack object causes llc to use up all memory
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Running llc on the following test uses up all memory on my machine.  Probably
codegen should detect and error out on huge stack frames.

target triple = "x86_64-unknown-linux-gnu"

%struct.frame_overflow__bitmap_t = type { [9223372036854775807 x i8] }

define void @frame_overflow() {
entry:
  %memtmp = alloca %struct.frame_overflow__bitmap_t, align 8
  ret void
}

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list