From 4bf370698a456bcc96d26184785eb4f5fab396f2 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Thu, 23 Jul 2009 01:40:54 +0000 Subject: Reverting r76825 and r76828, since they caused clang runtime errors and some build failure involving memset. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76838 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/lli/lli.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp index f9d86d75b1..0337703ecf 100644 --- a/tools/lli/lli.cpp +++ b/tools/lli/lli.cpp @@ -136,6 +136,9 @@ int main(int argc, char **argv, char * const *envp) { builder.setEngineKind(ForceInterpreter ? EngineKind::Interpreter : EngineKind::JIT); + // FIXME: Don't allocate GVs with code once the JIT because smarter about + // memory management. + builder.setAllocateGVsWithCode(true); // If we are supposed to override the target triple, do so now. if (!TargetTriple.empty()) -- cgit v1.2.3