summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-08-15 12:11:16 -0400
committerGitHub <noreply@github.com>2019-08-15 12:11:16 -0400
commit44506607215247be4bf33c1a629bf39971bc966f (patch)
treec87596b10ac067455862e2a4cfb70bd02a3ab3e3 /source
parent27583e993aee508361fdccffc107c2f2765698ef (diff)
Fix bug where in emitCPUBinaryForEntryPoint for HostCallable doesn't correctly return the created SharedLibrary. (#1022)
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang-compiler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/slang-compiler.cpp b/source/slang/slang-compiler.cpp
index cf708df52..a88881b9d 100644
--- a/source/slang/slang-compiler.cpp
+++ b/source/slang/slang-compiler.cpp
@@ -1546,6 +1546,8 @@ SlangResult dissassembleDXILUsingDXC(
RefPtr<TemporarySharedLibrary> sharedLib(new TemporarySharedLibrary(handle, moduleFilePath));
sharedLib->m_temporaryFileSet = productFileSet;
productFileSet.clear();
+
+ outSharedLib = sharedLib;
}
else
{