Skip to content

Commit

Permalink
Fix opt.exe external lib loading (#5049)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5223e25)
  • Loading branch information
hekota authored and pow2clk committed Feb 24, 2023
1 parent 8f4d1f4 commit 7ce4986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/clang/tools/dxopt/dxopt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ int __cdecl wmain(int argc, const wchar_t **argv_) {

if (externalLib) {
CW2A externalFnA(externalFn, CP_UTF8);
CW2A externalLibA(externalFn, CP_UTF8);
CW2A externalLibA(externalLib, CP_UTF8);
IFT(g_DxcSupport.InitializeForDll(externalLibA, externalFnA));
}
else {
Expand Down

0 comments on commit 7ce4986

Please sign in to comment.