debug-jit-path

===================================================================

Gbp-Pq: Name debug-jit-path.diff
This commit is contained in:
LLVM Packaging Team 2022-06-27 14:58:44 +08:00 committed by Lu zhiping
parent c36443c845
commit 0869eea397
1 changed files with 2 additions and 2 deletions

View File

@ -300,8 +300,8 @@ bool PerfJITEventListener::InitDebuggingDir() {
// search for location to dump data to
if (const char *BaseDir = getenv("JITDUMPDIR"))
Path.append(BaseDir);
else if (!sys::path::home_directory(Path))
Path = ".";
else
sys::path::system_temp_directory(/*ErasedOnReboot*/ true, Path);
// create debug directory
Path += "/.debug/jit/";