diff options
| author | 2012-03-18 02:29:38 +0800 | |
|---|---|---|
| committer | 2012-03-26 20:56:25 -0700 | |
| commit | aeb53035febaaa186b3abdac55e21579a8988d84 (patch) | |
| tree | 850277a178064af0a3d4cd6ace2c5c8dac22400e /src/compiler_llvm/compiler_llvm.cc | |
| parent | 6920bceb9636910fd82c710946313d6577fbfdfc (diff) | |
Add GetCompilationUnit() to CompilerLLVM.
(cherry picked from commit f12475c0024534a17c0f007e1a8f8ac981932296)
Change-Id: I1579f8e93722e7098657becbb70117c9f6a109a1
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.cc')
| -rw-r--r-- | src/compiler_llvm/compiler_llvm.cc | 9 |
1 files changed, 5 insertions, 4 deletions
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 |