-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillawontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid
Description
| Bugzilla Link | 3083 |
| Resolution | WONTFIX |
| Resolved on | Nov 20, 2008 17:51 |
| Version | unspecified |
| OS | Linux |
| Blocks | llvm/llvm-bugzilla-archive#3084 |
| Attachments | testcase to show problem |
Extended Description
Apply the attached patch to example/HowToUseJIT, and run:
"We just constructed this LLVM module:
; ModuleID = 'test'
define i32 @add1(i32 %AnArg) {
EntryBlock:
%addresult = add i32 1, %AnArg ; [#uses=1]
ret i32 %addresult
}
define i32 @foo() {
EntryBlock:
%add1 = tail call i32 @add1(i32 10) ; [#uses=1]
ret i32 %add1
}
Running foo: JIT ran out of memory for function stubs!
Aborted"
The JIT could provide a callback when it runs out of memory, so that the Garbage Collector can be run, that could possibly free up some memory.
This would especially be useful for VMKit.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillawontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid