@@ -109,11 +109,11 @@ class FileRunCommandPart {
109109 FileRunCommandPart (const FileRunCommandPart &) = default ;
110110 FileRunCommandPart (FileRunCommandPart &&) = default ;
111111
112- FileRunCommandResult Run (dxc::DxcDllSupport &DllSupport,
112+ FileRunCommandResult Run (dxc::DllLoader &DllSupport,
113113 const FileRunCommandResult *Prior,
114114 PluginToolsPaths *pPluginToolsPaths = nullptr ,
115115 LPCWSTR dumpName = nullptr );
116- FileRunCommandResult RunHashTests (dxc::DxcDllSupport &DllSupport);
116+ FileRunCommandResult RunHashTests (dxc::DllLoader &DllSupport);
117117
118118 FileRunCommandResult ReadOptsForDxc (hlsl::options::MainArgs &argStrings,
119119 hlsl::options::DxcOpts &Opts,
@@ -127,30 +127,30 @@ class FileRunCommandPart {
127127private:
128128 FileRunCommandResult RunFileChecker (const FileRunCommandResult *Prior,
129129 LPCWSTR dumpName = nullptr );
130- FileRunCommandResult RunDxc (dxc::DxcDllSupport &DllSupport,
130+ FileRunCommandResult RunDxc (dxc::DllLoader &DllSupport,
131131 const FileRunCommandResult *Prior);
132- FileRunCommandResult RunDxv (dxc::DxcDllSupport &DllSupport,
132+ FileRunCommandResult RunDxv (dxc::DllLoader &DllSupport,
133133 const FileRunCommandResult *Prior);
134- FileRunCommandResult RunOpt (dxc::DxcDllSupport &DllSupport,
134+ FileRunCommandResult RunOpt (dxc::DllLoader &DllSupport,
135135 const FileRunCommandResult *Prior);
136- FileRunCommandResult RunListParts (dxc::DxcDllSupport &DllSupport,
136+ FileRunCommandResult RunListParts (dxc::DllLoader &DllSupport,
137137 const FileRunCommandResult *Prior);
138- FileRunCommandResult RunD3DReflect (dxc::DxcDllSupport &DllSupport,
138+ FileRunCommandResult RunD3DReflect (dxc::DllLoader &DllSupport,
139139 const FileRunCommandResult *Prior);
140- FileRunCommandResult RunDxr (dxc::DxcDllSupport &DllSupport,
140+ FileRunCommandResult RunDxr (dxc::DllLoader &DllSupport,
141141 const FileRunCommandResult *Prior);
142- FileRunCommandResult RunLink (dxc::DxcDllSupport &DllSupport,
142+ FileRunCommandResult RunLink (dxc::DllLoader &DllSupport,
143143 const FileRunCommandResult *Prior);
144144 FileRunCommandResult RunTee (const FileRunCommandResult *Prior);
145145 FileRunCommandResult RunXFail (const FileRunCommandResult *Prior);
146- FileRunCommandResult RunDxilVer (dxc::DxcDllSupport &DllSupport,
146+ FileRunCommandResult RunDxilVer (dxc::DllLoader &DllSupport,
147147 const FileRunCommandResult *Prior);
148- FileRunCommandResult RunDxcHashTest (dxc::DxcDllSupport &DllSupport);
148+ FileRunCommandResult RunDxcHashTest (dxc::DllLoader &DllSupport);
149149 FileRunCommandResult RunFromPath (const std::string &path,
150150 const FileRunCommandResult *Prior);
151151 FileRunCommandResult RunFileCompareText (const FileRunCommandResult *Prior);
152152#ifdef _WIN32
153- FileRunCommandResult RunFxc (dxc::DxcDllSupport &DllSupport,
153+ FileRunCommandResult RunFxc (dxc::DllLoader &DllSupport,
154154 const FileRunCommandResult *Prior);
155155#endif
156156
@@ -175,12 +175,12 @@ class FileRunTestResult {
175175 PluginToolsPaths *pPluginToolsPaths = nullptr ,
176176 LPCWSTR dumpName = nullptr );
177177 static FileRunTestResult
178- RunFromFileCommands (LPCWSTR fileName, dxc::DxcDllSupport &dllSupport,
178+ RunFromFileCommands (LPCWSTR fileName, dxc::DxCompilerDllLoader &dllSupport,
179179 PluginToolsPaths *pPluginToolsPaths = nullptr ,
180180 LPCWSTR dumpName = nullptr );
181181};
182182
183- void AssembleToContainer (dxc::DxcDllSupport &dllSupport, IDxcBlob *pModule,
183+ void AssembleToContainer (dxc::DllLoader &dllSupport, IDxcBlob *pModule,
184184 IDxcBlob **pContainer);
185185std::string BlobToUtf8 (IDxcBlob *pBlob);
186186std::wstring BlobToWide (IDxcBlob *pBlob);
@@ -195,36 +195,34 @@ bool CheckMsgs(const LPCSTR pText, size_t TextCount, const LPCSTR *pErrorMsgs,
195195 size_t errorMsgCount, bool bRegex);
196196bool CheckNotMsgs (const LPCSTR pText, size_t TextCount,
197197 const LPCSTR *pErrorMsgs, size_t errorMsgCount, bool bRegex);
198- void GetDxilPart (dxc::DxcDllSupport &dllSupport, IDxcBlob *pProgram,
198+ void GetDxilPart (dxc::DllLoader &dllSupport, IDxcBlob *pProgram,
199199 IDxcBlob **pDxilPart);
200- std::string DisassembleProgram (dxc::DxcDllSupport &dllSupport,
200+ std::string DisassembleProgram (dxc::DxCompilerDllLoader &dllSupport,
201201 IDxcBlob *pProgram);
202202void SplitPassList (LPWSTR pPassesBuffer, std::vector<LPCWSTR> &passes);
203- void MultiByteStringToBlob (dxc::DxcDllSupport &dllSupport,
204- const std::string &val, UINT32 codePoint,
205- IDxcBlob **ppBlob);
206- void MultiByteStringToBlob (dxc::DxcDllSupport &dllSupport,
207- const std::string &val, UINT32 codePoint,
208- IDxcBlobEncoding **ppBlob);
209- void Utf8ToBlob (dxc::DxcDllSupport &dllSupport, const std::string &val,
203+ void MultiByteStringToBlob (dxc::DllLoader &dllSupport, const std::string &val,
204+ UINT32 codePoint, IDxcBlob **ppBlob);
205+ void MultiByteStringToBlob (dxc::DllLoader &dllSupport, const std::string &val,
206+ UINT32 codePoint, IDxcBlobEncoding **ppBlob);
207+ void Utf8ToBlob (dxc::DllLoader &dllSupport, const std::string &val,
210208 IDxcBlob **ppBlob);
211- void Utf8ToBlob (dxc::DxcDllSupport &dllSupport, const std::string &val,
209+ void Utf8ToBlob (dxc::DllLoader &dllSupport, const std::string &val,
212210 IDxcBlobEncoding **ppBlob);
213- void Utf8ToBlob (dxc::DxcDllSupport &dllSupport, const char *pVal,
211+ void Utf8ToBlob (dxc::DllLoader &dllSupport, const char *pVal,
214212 IDxcBlobEncoding **ppBlob);
215- void WideToBlob (dxc::DxcDllSupport &dllSupport, const std::wstring &val,
213+ void WideToBlob (dxc::DllLoader &dllSupport, const std::wstring &val,
216214 IDxcBlob **ppBlob);
217- void WideToBlob (dxc::DxcDllSupport &dllSupport, const std::wstring &val,
215+ void WideToBlob (dxc::DllLoader &dllSupport, const std::wstring &val,
218216 IDxcBlobEncoding **ppBlob);
219- void VerifyCompileOK (dxc::DxcDllSupport &dllSupport, LPCSTR pText,
217+ void VerifyCompileOK (dxc::DllLoader &dllSupport, LPCSTR pText,
220218 LPCWSTR pTargetProfile, LPCWSTR pArgs,
221219 IDxcBlob **ppResult);
222- void VerifyCompileOK (dxc::DxcDllSupport &dllSupport, LPCSTR pText,
220+ void VerifyCompileOK (dxc::DllLoader &dllSupport, LPCSTR pText,
223221 LPCWSTR pTargetProfile, std::vector<LPCWSTR> &args,
224222 IDxcBlob **ppResult);
225223
226- HRESULT GetVersion (dxc::DxcDllSupport &DllSupport, REFCLSID clsid,
227- unsigned &Major, unsigned & Minor);
224+ HRESULT GetVersion (dxc::DllLoader &DllSupport, REFCLSID clsid, unsigned &Major ,
225+ unsigned &Minor);
228226bool ParseTargetProfile (llvm::StringRef targetProfile,
229227 llvm::StringRef &outStage, unsigned &outMajor,
230228 unsigned &outMinor);
@@ -240,7 +238,7 @@ class VersionSupportInfo {
240238
241239 VersionSupportInfo ();
242240 // Initialize version info structure. TODO: add device shader model support
243- void Initialize (dxc::DxcDllSupport &dllSupport);
241+ void Initialize (dxc::DllLoader &dllSupport);
244242 // Return true if IR sensitive test should be skipped, and log comment
245243 bool SkipIRSensitiveTest ();
246244 // Return true if test requiring DXIL of given version should be skipped, and
0 commit comments