summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Target/ModuleCacheTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/unittests/Target/ModuleCacheTest.cpp')
-rw-r--r--lldb/unittests/Target/ModuleCacheTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/unittests/Target/ModuleCacheTest.cpp b/lldb/unittests/Target/ModuleCacheTest.cpp
index f7d8a8dcdbe..1219a1db131 100644
--- a/lldb/unittests/Target/ModuleCacheTest.cpp
+++ b/lldb/unittests/Target/ModuleCacheTest.cpp
@@ -68,8 +68,7 @@ void ModuleCacheTest::SetUpTestCase() {
HostInfo::Initialize();
ObjectFileELF::Initialize();
- FileSpec tmpdir_spec;
- HostInfo::GetLLDBPath(lldb::ePathTypeLLDBTempSystemDir, s_cache_dir);
+ s_cache_dir = HostInfo::GetProcessTempDir();
s_test_executable = GetInputFilePath(module_name);
}
OpenPOWER on IntegriCloud