Bump F# to 4.1.25 and remove already merged patches
[mono.git] / packaging / MacSDK / patches / fsharp-enable-jit-tracking-for-portable-pdb.patch
diff --git a/packaging/MacSDK/patches/fsharp-enable-jit-tracking-for-portable-pdb.patch b/packaging/MacSDK/patches/fsharp-enable-jit-tracking-for-portable-pdb.patch
deleted file mode 100644 (file)
index d3fef81..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-From f28dbdfaa4427c1e62c16bc6d59106f9f5db15f7 Mon Sep 17 00:00:00 2001
-From: nosami <jasonimison@gmail.com>
-Date: Fri, 21 Apr 2017 16:34:27 +0100
-Subject: [PATCH] Enable JIT tracking for portable PDB debugging
-
-Setting JIT tracking to true adds the `DebuggableAttribute.DebuggingModes.Default`
-flag to the generated Debuggable attribute
-See https://msdn.microsoft.com/en-us/library/system.diagnostics.debuggableattribute.debuggingmodes(v=vs.110).aspx
-
-Without this flag I see the following message when debugging unless I have "Debug project code only: do not step into framework code" unchecked to allow stepping into framework code.
-```
-Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
-```
-Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=55092
----
- src/fsharp/CompileOptions.fs | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/fsharp/CompileOptions.fs b/src/fsharp/CompileOptions.fs
-index 209cdd90..97860085 100755
---- a/src/fsharp/CompileOptions.fs
-+++ b/src/fsharp/CompileOptions.fs
-@@ -466,9 +466,9 @@ let SetDebugSwitch (tcConfigB : TcConfigBuilder) (dtype : string option) (s : Op
-     match dtype with
-     | Some(s) ->
-        match s with 
--       | "portable" ->  tcConfigB.portablePDB <- true;  tcConfigB.embeddedPDB <- false; tcConfigB.jitTracking <- false; tcConfigB.ignoreSymbolStoreSequencePoints <- true
-+       | "portable" ->  tcConfigB.portablePDB <- true;  tcConfigB.embeddedPDB <- false; tcConfigB.jitTracking <- true; tcConfigB.ignoreSymbolStoreSequencePoints <- true
-        | "pdbonly" ->   tcConfigB.portablePDB <- false; tcConfigB.embeddedPDB <- false; tcConfigB.jitTracking <- false
--       | "embedded" ->  tcConfigB.portablePDB <- true;  tcConfigB.embeddedPDB <- true;  tcConfigB.jitTracking <- false; tcConfigB.ignoreSymbolStoreSequencePoints <- true
-+       | "embedded" ->  tcConfigB.portablePDB <- true;  tcConfigB.embeddedPDB <- true;  tcConfigB.jitTracking <- true; tcConfigB.ignoreSymbolStoreSequencePoints <- true
-        | "full" ->      tcConfigB.portablePDB <- false; tcConfigB.embeddedPDB <- false; tcConfigB.jitTracking <- true
-        | _ -> error(Error(FSComp.SR.optsUnrecognizedDebugType(s), rangeCmdArgs))
-     | None ->           tcConfigB.portablePDB <- false; tcConfigB.embeddedPDB <- false; tcConfigB.jitTracking <- s = OptionSwitch.On;
--- 
-2.11.0 (Apple Git-81)
-