Add debug-only use of new AssemblyBuilder.Save in Regex.CompileToAssembly#96462
Add debug-only use of new AssemblyBuilder.Save in Regex.CompileToAssembly#96462stephentoub merged 2 commits intodotnet:mainfrom
Conversation
|
Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions Issue DetailsTo aid in debugging RegexCompiler issues and to help vet the new AssemblyBuilder.Save support. This brings back and then tweaks code that was removed in #59734.
|
...raries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.CompileToAssembly.Tests.cs
Outdated
Show resolved
Hide resolved
|
@buyaa-n, the build is failing with: Have you seen these? |
8ce3b15 to
9b98a60
Compare
|
@buyaa-n, I fixed the invalid code gen, but now I'm hitting this: Is there something related to generics that's not yet implemented maybe? |
No, never seen those and removing those suppressions locally causing still build failure: |
No generics should have covered completely, no known issue (yet), wonder how that happen, more logs could be helpful |
|
I opened #96469 for the span issue. |
Now I do see the warnings with your branch, but weirdly removing those suppressions reintroduces the IL2075 warning back (not the IL2072)
Thanks, I will fix it ASAP |
9b98a60 to
300ac46
Compare
300ac46 to
c4c7ce2
Compare
…mbly To aid in debugging RegexCompiler issues and to help vet the new AssemblyBuilder.Save support.
c4c7ce2 to
6aadb60
Compare
|
Thanks. |
|
@buyaa-n, can you take another look? |
...raries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.CompileToAssembly.Tests.cs
Show resolved
Hide resolved
buyaa-n
left a comment
There was a problem hiding this comment.
Looks great to me, thanks for using new AssemblyBuilder implementation.
…mbly (dotnet#96462) * Add debug-only use of new AssemblyBuilder.Save in Regex.CompileToAssembly To aid in debugging RegexCompiler issues and to help vet the new AssemblyBuilder.Save support. * Fix IL2121 warnings --------- Co-authored-by: Sven Boemer <sbomer@gmail.com>
To aid in debugging RegexCompiler issues and to help vet the new AssemblyBuilder.Save support.
This brings back and then tweaks code that was removed in #59734.