From aeb53035febaaa186b3abdac55e21579a8988d84 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Sun, 18 Mar 2012 02:29:38 +0800 Subject: Add GetCompilationUnit() to CompilerLLVM. (cherry picked from commit f12475c0024534a17c0f007e1a8f8ac981932296) Change-Id: I1579f8e93722e7098657becbb70117c9f6a109a1 --- src/compiler_llvm/compiler_llvm.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/compiler_llvm/compiler_llvm.cc') diff --git a/src/compiler_llvm/compiler_llvm.cc b/src/compiler_llvm/compiler_llvm.cc index d528615f7c..48c6062410 100644 --- a/src/compiler_llvm/compiler_llvm.cc +++ b/src/compiler_llvm/compiler_llvm.cc @@ -79,10 +79,11 @@ void InitializeLLVM() { } // The Guard to Shutdown LLVM -//llvm::llvm_shutdown_obj llvm_guard; -// TODO: We are commenting this line because this will cause SEGV. This may -// related to two possible reasons: (1) the order of the destruction of static -// objects, and (2) dlopen/dlclose side-effect on static objects. +// llvm::llvm_shutdown_obj llvm_guard; +// TODO: We are commenting out this line because this will cause SEGV from +// time to time. +// Two reasons: (1) the order of the destruction of static objects, or +// (2) dlopen/dlclose side-effect on static objects. } // anonymous namespace -- cgit v1.2.3-59-g8ed1b