Skip to content

Commit a95a9ea

Browse files
Update DEVGUIDE.md about ILVerify (#17998)
Co-authored-by: Kevin Ransom (msft) <[email protected]>
1 parent 3dff60a commit a95a9ea

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

DEVGUIDE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,22 @@ dotnet test tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.Tests.fs
226226
dotnet test tests/FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.Tests.fsproj --filter "SurfaceAreaTest" -c Release /p:BUILDING_USING_DOTNET=true
227227
```
228228

229+
### Updating ILVerify baselines
230+
231+
These control IL for the core modules of the compiler. The baselines are located in the `eng` folder and look like:
232+
```
233+
ilverify_FSharp.Compiler.Service_Debug_net9.0.bsl
234+
ilverify_FSharp.Compiler.Service_Debug_netstandard2.0.bsl
235+
ilverify_FSharp.Compiler.Service_Release_net9.0.bsl
236+
ilverify_FSharp.Compiler.Service_Release_netstandard2.0.bsl
237+
ilverify_FSharp.Core_Debug_netstandard2.0.bsl
238+
ilverify_FSharp.Core_Debug_netstandard2.1.bsl
239+
ilverify_FSharp.Core_Release_netstandard2.0.bsl
240+
ilverify_FSharp.Core_Release_netstandard2.1.bsl
241+
```
242+
243+
If you want to update them, run the [ilverify.ps1]([url](https://github.com/dotnet/fsharp/blob/main/eng/ilverify.ps1)) script in PowerShell. The script will create `.actual` files. If the differences make sense, replace the original baselines with the actual files.
244+
229245
## Automated Source Code Formatting
230246

231247
Some of the code in this repository is formatted automatically by [Fantomas](https://github.com/fsprojects/fantomas). To format all files use:

0 commit comments

Comments
 (0)