From debf033fa0c1f3dc03af78bbd7f606443bfbcbe1 Mon Sep 17 00:00:00 2001
From: foreman
Date: Wed, 2 Sep 2015 16:01:27 -0400
Subject: [PATCH] P4 to Git Change 1187464 by jsjodin@alit_worker_lnx11_stg_ws
on 2015/09/02 15:47:31
ECR #304775 - Add "dbg" to temp filename to prevent clashing with compiler lib temp file name for dlls.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.cpp#68 edit
[ROCm/clr commit: 65257c63e9709cce385875c0698c7e5e433139a0]
---
projects/clr/rocclr/runtime/device/cpu/cpuprogram.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projects/clr/rocclr/runtime/device/cpu/cpuprogram.cpp b/projects/clr/rocclr/runtime/device/cpu/cpuprogram.cpp
index ee9c6ab953..2bcadc35e8 100644
--- a/projects/clr/rocclr/runtime/device/cpu/cpuprogram.cpp
+++ b/projects/clr/rocclr/runtime/device/cpu/cpuprogram.cpp
@@ -514,7 +514,7 @@ Program::compileBinaryToISA(amd::option::Options* options)
#if defined(WITH_ONLINE_COMPILER)
std::string tempName = amd::Os::getTempFileName();
- dllFileName_ = tempName + "." IF(IS_WINDOWS, "dll", "so");
+ dllFileName_ = tempName + "dbg" + "." IF(IS_WINDOWS, "dll", "so");
acl_error err = ACL_SUCCESS;
aclTargetInfo aclinfo = info(has_avx ?