diff options
| author | 2014-04-23 20:24:57 +0100 | |
|---|---|---|
| committer | 2014-05-01 11:25:07 +0100 | |
| commit | 11d9f06a96a6909905c248ed684366190140095c (patch) | |
| tree | 27b02ab216b98ba1656d66072fd46c5adec61242 /compiler/llvm/llvm_compilation_unit.cc | |
| parent | b3016551e5f264264dbb633a1ddf03ac97f9c66c (diff) | |
Use instruction specific dalvik cache dirs.
- All oat & art files are now placed under /data/dalvik-cache/<isa>/.
- GetDalvikCacheOrDie now requires a mandatory subdirectory argument,
and is implicitly rooted under /data/.
- Added helper methods to convert InstructionSet enums into strings
and vice versa.
(cherry picked from commit 2974bc3d8a5d161d449dd66826d668d87bdc3cbe)
Change-Id: Ic7986938e6a7091a2af675ebafec768f7b5fb8cd
Diffstat (limited to 'compiler/llvm/llvm_compilation_unit.cc')
| -rw-r--r-- | compiler/llvm/llvm_compilation_unit.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/llvm/llvm_compilation_unit.cc b/compiler/llvm/llvm_compilation_unit.cc index fe609593dc..78bdb4dbfb 100644 --- a/compiler/llvm/llvm_compilation_unit.cc +++ b/compiler/llvm/llvm_compilation_unit.cc @@ -143,7 +143,7 @@ InstructionSet LlvmCompilationUnit::GetInstructionSet() const { static std::string DumpDirectory() { if (kIsTargetBuild) { - return GetDalvikCacheOrDie(GetAndroidData()); + return GetDalvikCacheOrDie("llvm-dump"); } return "/tmp"; } |