aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2009-07-23 01:40:54 +0000
committerReid Kleckner <reid@kleckner.net>2009-07-23 01:40:54 +0000
commit53927e42de07e9a0c22a5aed4ab8404db41c235a (patch)
tree30f156c6f9fbe2faa7faf0dbbf047dd053dd1d23 /tools
parent1df23b3ff643d03e9b68410aca75e7ebc2ebb5e4 (diff)
downloadexternal_llvm-53927e42de07e9a0c22a5aed4ab8404db41c235a.zip
external_llvm-53927e42de07e9a0c22a5aed4ab8404db41c235a.tar.gz
external_llvm-53927e42de07e9a0c22a5aed4ab8404db41c235a.tar.bz2
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
Diffstat (limited to 'tools')
-rw-r--r--tools/lli/lli.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp
index f9d86d7..0337703 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())