Skip to content

Commit f87ccd1

Browse files
committed
Lib: increase v27 module count sanity limit
1 parent 9e22967 commit f87ccd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibCpp2IL/BinarySearcher.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ internal ulong FindCodeRegistrationPost2019()
162162
else
163163
{
164164
//but in v27 it's close to the LAST codegen module (winrt.dll is an exception), so we need to work back until we find an xref.
165-
var sanityCheckNumberOfModules = 250;
165+
var sanityCheckNumberOfModules = 400;
166166
var pSomewhereInCodegenModules = pMscorlibCodegenEntryInCodegenModulesList.AsEnumerable();
167167
var numModuleDefs = LibCpp2IlMain.TheMetadata!.imageDefinitions.Length;
168168
var initialBacktrack = numModuleDefs - 10;

0 commit comments

Comments
 (0)