Skip to content

Commit 61d9319

Browse files
committed
Print source in sequence point dump
1 parent 01af60f commit 61d9319

69 files changed

Lines changed: 755 additions & 225 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tests/FSharp.Compiler.ComponentTests/EmittedIL/SequencePoints/Binding/Local - Erased call 02.bsl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
module Module
2+
3+
let i =
4+
System.Diagnostics.Debug.Write ""
5+
System.Diagnostics.Debug.Write ""
6+
--------------------------------------------------------------------------------
7+
18
Module::.cctor
29
<hidden>
310
IL_0000: ldc.i4.0

tests/FSharp.Compiler.ComponentTests/EmittedIL/SequencePoints/Binding/Local - Erased call 03.bsl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
module Module
2+
3+
let i =
4+
System.Diagnostics.Debug.Write ""
5+
System.Diagnostics.Debug.Write ""
6+
System.Diagnostics.Debug.Write ""
7+
--------------------------------------------------------------------------------
8+
19
Module::.cctor
210
<hidden>
311
IL_0000: ldc.i4.0
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
module Module
2+
3+
let i =
4+
()
5+
System.Diagnostics.Debug.Write ""
6+
System.Diagnostics.Debug.Write ""
7+
--------------------------------------------------------------------------------
8+
19
Module::.cctor
210
<hidden>
311
IL_0000: ldc.i4.0
@@ -7,7 +15,7 @@ Module::.cctor
715
IL_000c: ret
816

917
Module::staticInitialization@
10-
(5,5-5,7) ()
18+
(4,5-4,7) ()
1119
IL_0000: ldnull
12-
IL_0001: stsfld i@4
20+
IL_0001: stsfld i@3
1321
IL_0006: ret
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
module Module
2+
3+
let i =
4+
System.Diagnostics.Debug.Write ""
5+
()
6+
System.Diagnostics.Debug.Write ""
7+
--------------------------------------------------------------------------------
8+
19
Module::.cctor
210
<hidden>
311
IL_0000: ldc.i4.0
@@ -7,7 +15,7 @@ Module::.cctor
715
IL_000c: ret
816

917
Module::staticInitialization@
10-
(6,5-6,7) ()
18+
(5,5-5,7) ()
1119
IL_0000: ldnull
12-
IL_0001: stsfld i@4
20+
IL_0001: stsfld i@3
1321
IL_0006: ret
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
module Module
2+
3+
let i =
4+
System.Diagnostics.Debug.Write ""
5+
System.Diagnostics.Debug.Write ""
6+
()
7+
--------------------------------------------------------------------------------
8+
19
Module::.cctor
210
<hidden>
311
IL_0000: ldc.i4.0
@@ -7,7 +15,7 @@ Module::.cctor
715
IL_000c: ret
816

917
Module::staticInitialization@
10-
(7,5-7,7) ()
18+
(6,5-6,7) ()
1119
IL_0000: ldnull
12-
IL_0001: stsfld i@4
20+
IL_0001: stsfld i@3
1321
IL_0006: ret
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
module Module
2+
3+
do
4+
let i = System.Diagnostics.Debug.Write ""
5+
()
6+
--------------------------------------------------------------------------------
7+
18
Module::staticInitialization@
2-
(6,5-6,7) ()
9+
(5,5-5,7) ()
310
IL_0000: ret
Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1+
module Module
2+
3+
do
4+
let i = ()
5+
let j = ()
6+
()
7+
--------------------------------------------------------------------------------
8+
19
Module::staticInitialization@
2-
(5,5-5,15) let i = ()
10+
(4,5-4,15) let i = ()
311
IL_0000: nop
412

5-
(6,5-6,15) let j = ()
13+
(5,5-5,15) let j = ()
614
IL_0001: nop
715

8-
(7,5-7,7) ()
16+
(6,5-6,7) ()
917
IL_0002: ret
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1+
module Module
2+
3+
do
4+
let i = ()
5+
()
6+
--------------------------------------------------------------------------------
7+
18
Module::staticInitialization@
2-
(5,5-5,15) let i = ()
9+
(4,5-4,15) let i = ()
310
IL_0000: nop
411

5-
(6,5-6,7) ()
12+
(5,5-5,7) ()
613
IL_0001: ret

tests/FSharp.Compiler.ComponentTests/EmittedIL/SequencePoints/Binding/Module - Erased call 02.bsl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
module Module
2+
3+
let i =
4+
System.Diagnostics.Debug.Write ""
5+
System.Diagnostics.Debug.Write ""
6+
--------------------------------------------------------------------------------
7+
18
Module::.cctor
29
<hidden>
310
IL_0000: ldc.i4.0

tests/FSharp.Compiler.ComponentTests/EmittedIL/SequencePoints/Binding/Module - Erased call 03.bsl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
module Module
2+
3+
let i =
4+
System.Diagnostics.Debug.Write ""
5+
System.Diagnostics.Debug.Write ""
6+
System.Diagnostics.Debug.Write ""
7+
--------------------------------------------------------------------------------
8+
19
Module::.cctor
210
<hidden>
311
IL_0000: ldc.i4.0

0 commit comments

Comments
 (0)