@@ -109,11 +109,11 @@ class FileRunCommandPart {
109
109
FileRunCommandPart (const FileRunCommandPart &) = default ;
110
110
FileRunCommandPart (FileRunCommandPart &&) = default ;
111
111
112
- FileRunCommandResult Run (dxc::SpecificDllLoader &DllSupport,
112
+ FileRunCommandResult Run (dxc::DllLoader &DllSupport,
113
113
const FileRunCommandResult *Prior,
114
114
PluginToolsPaths *pPluginToolsPaths = nullptr ,
115
115
LPCWSTR dumpName = nullptr );
116
- FileRunCommandResult RunHashTests (dxc::SpecificDllLoader &DllSupport);
116
+ FileRunCommandResult RunHashTests (dxc::DllLoader &DllSupport);
117
117
118
118
FileRunCommandResult ReadOptsForDxc (hlsl::options::MainArgs &argStrings,
119
119
hlsl::options::DxcOpts &Opts,
@@ -127,30 +127,30 @@ class FileRunCommandPart {
127
127
private:
128
128
FileRunCommandResult RunFileChecker (const FileRunCommandResult *Prior,
129
129
LPCWSTR dumpName = nullptr );
130
- FileRunCommandResult RunDxc (dxc::SpecificDllLoader &DllSupport,
130
+ FileRunCommandResult RunDxc (dxc::DllLoader &DllSupport,
131
131
const FileRunCommandResult *Prior);
132
- FileRunCommandResult RunDxv (dxc::SpecificDllLoader &DllSupport,
132
+ FileRunCommandResult RunDxv (dxc::DllLoader &DllSupport,
133
133
const FileRunCommandResult *Prior);
134
- FileRunCommandResult RunOpt (dxc::SpecificDllLoader &DllSupport,
134
+ FileRunCommandResult RunOpt (dxc::DllLoader &DllSupport,
135
135
const FileRunCommandResult *Prior);
136
- FileRunCommandResult RunListParts (dxc::SpecificDllLoader &DllSupport,
136
+ FileRunCommandResult RunListParts (dxc::DllLoader &DllSupport,
137
137
const FileRunCommandResult *Prior);
138
- FileRunCommandResult RunD3DReflect (dxc::SpecificDllLoader &DllSupport,
138
+ FileRunCommandResult RunD3DReflect (dxc::DllLoader &DllSupport,
139
139
const FileRunCommandResult *Prior);
140
- FileRunCommandResult RunDxr (dxc::SpecificDllLoader &DllSupport,
140
+ FileRunCommandResult RunDxr (dxc::DllLoader &DllSupport,
141
141
const FileRunCommandResult *Prior);
142
- FileRunCommandResult RunLink (dxc::SpecificDllLoader &DllSupport,
142
+ FileRunCommandResult RunLink (dxc::DllLoader &DllSupport,
143
143
const FileRunCommandResult *Prior);
144
144
FileRunCommandResult RunTee (const FileRunCommandResult *Prior);
145
145
FileRunCommandResult RunXFail (const FileRunCommandResult *Prior);
146
- FileRunCommandResult RunDxilVer (dxc::SpecificDllLoader &DllSupport,
146
+ FileRunCommandResult RunDxilVer (dxc::DllLoader &DllSupport,
147
147
const FileRunCommandResult *Prior);
148
- FileRunCommandResult RunDxcHashTest (dxc::SpecificDllLoader &DllSupport);
148
+ FileRunCommandResult RunDxcHashTest (dxc::DllLoader &DllSupport);
149
149
FileRunCommandResult RunFromPath (const std::string &path,
150
150
const FileRunCommandResult *Prior);
151
151
FileRunCommandResult RunFileCompareText (const FileRunCommandResult *Prior);
152
152
#ifdef _WIN32
153
- FileRunCommandResult RunFxc (dxc::SpecificDllLoader &DllSupport,
153
+ FileRunCommandResult RunFxc (dxc::DllLoader &DllSupport,
154
154
const FileRunCommandResult *Prior);
155
155
#endif
156
156
@@ -180,7 +180,7 @@ class FileRunTestResult {
180
180
LPCWSTR dumpName = nullptr );
181
181
};
182
182
183
- void AssembleToContainer (dxc::SpecificDllLoader &dllSupport, IDxcBlob *pModule,
183
+ void AssembleToContainer (dxc::DllLoader &dllSupport, IDxcBlob *pModule,
184
184
IDxcBlob **pContainer);
185
185
std::string BlobToUtf8 (IDxcBlob *pBlob);
186
186
std::wstring BlobToWide (IDxcBlob *pBlob);
@@ -195,36 +195,33 @@ bool CheckMsgs(const LPCSTR pText, size_t TextCount, const LPCSTR *pErrorMsgs,
195
195
size_t errorMsgCount, bool bRegex);
196
196
bool CheckNotMsgs (const LPCSTR pText, size_t TextCount,
197
197
const LPCSTR *pErrorMsgs, size_t errorMsgCount, bool bRegex);
198
- void GetDxilPart (dxc::SpecificDllLoader &dllSupport, IDxcBlob *pProgram,
198
+ void GetDxilPart (dxc::DllLoader &dllSupport, IDxcBlob *pProgram,
199
199
IDxcBlob **pDxilPart);
200
- std::string DisassembleProgram (dxc::SpecificDllLoader &dllSupport,
201
- IDxcBlob *pProgram);
200
+ std::string DisassembleProgram (dxc::DllLoader &dllSupport, IDxcBlob *pProgram);
202
201
void SplitPassList (LPWSTR pPassesBuffer, std::vector<LPCWSTR> &passes);
203
- void MultiByteStringToBlob (dxc::SpecificDllLoader &dllSupport,
204
- const std::string &val, UINT32 codePoint,
205
- IDxcBlob **ppBlob);
206
- void MultiByteStringToBlob (dxc::SpecificDllLoader &dllSupport,
207
- const std::string &val, UINT32 codePoint,
208
- IDxcBlobEncoding **ppBlob);
209
- void Utf8ToBlob (dxc::SpecificDllLoader &dllSupport, const std::string &val,
202
+ void MultiByteStringToBlob (dxc::DllLoader &dllSupport, const std::string &val,
203
+ UINT32 codePoint, IDxcBlob **ppBlob);
204
+ void MultiByteStringToBlob (dxc::DllLoader &dllSupport, const std::string &val,
205
+ UINT32 codePoint, IDxcBlobEncoding **ppBlob);
206
+ void Utf8ToBlob (dxc::DllLoader &dllSupport, const std::string &val,
210
207
IDxcBlob **ppBlob);
211
- void Utf8ToBlob (dxc::SpecificDllLoader &dllSupport, const std::string &val,
208
+ void Utf8ToBlob (dxc::DllLoader &dllSupport, const std::string &val,
212
209
IDxcBlobEncoding **ppBlob);
213
- void Utf8ToBlob (dxc::SpecificDllLoader &dllSupport, const char *pVal,
210
+ void Utf8ToBlob (dxc::DllLoader &dllSupport, const char *pVal,
214
211
IDxcBlobEncoding **ppBlob);
215
- void WideToBlob (dxc::SpecificDllLoader &dllSupport, const std::wstring &val,
212
+ void WideToBlob (dxc::DllLoader &dllSupport, const std::wstring &val,
216
213
IDxcBlob **ppBlob);
217
- void WideToBlob (dxc::SpecificDllLoader &dllSupport, const std::wstring &val,
214
+ void WideToBlob (dxc::DllLoader &dllSupport, const std::wstring &val,
218
215
IDxcBlobEncoding **ppBlob);
219
- void VerifyCompileOK (dxc::SpecificDllLoader &dllSupport, LPCSTR pText,
216
+ void VerifyCompileOK (dxc::DllLoader &dllSupport, LPCSTR pText,
220
217
LPCWSTR pTargetProfile, LPCWSTR pArgs,
221
218
IDxcBlob **ppResult);
222
- void VerifyCompileOK (dxc::SpecificDllLoader &dllSupport, LPCSTR pText,
219
+ void VerifyCompileOK (dxc::DllLoader &dllSupport, LPCSTR pText,
223
220
LPCWSTR pTargetProfile, std::vector<LPCWSTR> &args,
224
221
IDxcBlob **ppResult);
225
222
226
- HRESULT GetVersion (dxc::SpecificDllLoader &DllSupport, REFCLSID clsid,
227
- unsigned &Major, unsigned & Minor);
223
+ HRESULT GetVersion (dxc::DllLoader &DllSupport, REFCLSID clsid, unsigned &Major ,
224
+ unsigned &Minor);
228
225
bool ParseTargetProfile (llvm::StringRef targetProfile,
229
226
llvm::StringRef &outStage, unsigned &outMajor,
230
227
unsigned &outMinor);
@@ -240,7 +237,7 @@ class VersionSupportInfo {
240
237
241
238
VersionSupportInfo ();
242
239
// Initialize version info structure. TODO: add device shader model support
243
- void Initialize (dxc::SpecificDllLoader &dllSupport);
240
+ void Initialize (dxc::DllLoader &dllSupport);
244
241
// Return true if IR sensitive test should be skipped, and log comment
245
242
bool SkipIRSensitiveTest ();
246
243
// Return true if test requiring DXIL of given version should be skipped, and
0 commit comments