Skip to content

Instantly share code, notes, and snippets.

diff --git a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c
index 3c803ae..bfb3b4d 100644
--- a/mono/mini/aot-compiler.c
+++ b/mono/mini/aot-compiler.c
@@ -2335,6 +2335,11 @@ emit_aot_data (MonoAotCompile *acfg, MonoAotFileTable table, const char *symbol,
acfg->table_offsets [(int)table] = acfg->datafile_offset;
fwrite (data,1, size, acfg->data_outfile);
acfg->datafile_offset += size;
+ int remained = 16 - size % 16;
+ acfg->datafile_offset += remained;
diff --git a/tools/mtouch/devcontroller.cs b/tools/mtouch/devcontroller.cs
index 900994c..e848d41 100644
--- a/tools/mtouch/devcontroller.cs
+++ b/tools/mtouch/devcontroller.cs
@@ -415,6 +415,8 @@ namespace MonoTouch
DeviceDiscovery.EnumerateDevices (MTouch.Timeout, (dev) =>
{
+ dev.ValidatePairing ();
+ dev.StartSession ();
commit 7522a024cd866a618babb1239246bea4359c12f9
Author: Rolf Bjarne Kvinge <[email protected]>
Date: Tue Dec 22 19:38:18 2015 +0100
[mtouch] Specify the right triple when aot-compiling.
diff --git a/tools/mtouch/mtouch.cs b/tools/mtouch/mtouch.cs
index cfd0f0d..1cab990 100644
--- a/tools/mtouch/mtouch.cs
+++ b/tools/mtouch/mtouch.cs
@rolfbjarne
rolfbjarne / -
Created December 22, 2015 18:38
commit 7522a024cd866a618babb1239246bea4359c12f9
Author: Rolf Bjarne Kvinge <[email protected]>
Date: Tue Dec 22 19:38:18 2015 +0100
[mtouch] Specify the right triple when aot-compiling.
diff --git a/tools/mtouch/mtouch.cs b/tools/mtouch/mtouch.cs
index cfd0f0d..1cab990 100644
--- a/tools/mtouch/mtouch.cs
+++ b/tools/mtouch/mtouch.cs
@rolfbjarne
rolfbjarne / -
Created December 22, 2015 17:19
Archive: ios-cache.zip
Length Date Time Name
-------- ---- ---- ----
0 12-22-15 18:17 _ios-cache/
0 12-22-15 18:17 _ios-cache/Library/
0 12-22-15 18:17 _ios-cache/Library/Frameworks/
0 12-22-15 18:17 _ios-cache/Library/Frameworks/Xamarin.iOS.framework/
0 12-22-15 18:17 _ios-cache/Library/Frameworks/Xamarin.iOS.framework/Versions/
0 12-22-15 18:17 _ios-cache/Library/Frameworks/Xamarin.iOS.framework/Versions/git/
0 12-22-15 18:17 _ios-cache/Library/Frameworks/Xamarin.iOS.framework/Versions/git/bin/
diff --git a/builds/.gitignore b/builds/.gitignore
index 592aa50..f7174ce 100644
--- a/builds/.gitignore
+++ b/builds/.gitignore
@@ -29,4 +29,6 @@ install
watchsimulator
watchbcl
tvsimulator
+_ios-cache
+*.zip
@rolfbjarne
rolfbjarne / -
Created December 22, 2015 11:57
commit 76c41727f0da3ce4dda28663f856b7e6a06fdc6e
Author: Rolf Bjarne Kvinge <[email protected]>
Date: Tue Dec 22 11:42:46 2015 +0100
[mtouch] Don't pass -read_only_relocs to the linker if bitcode is enabled.
diff --git a/tools/mtouch/Application.cs b/tools/mtouch/Application.cs
index 317101c..521107c 100644
--- a/tools/mtouch/Application.cs
+++ b/tools/mtouch/Application.cs
class bar {}
public class MyViewController : UIViewController {
public override void ViewDidLoad ()
{
base.ViewDidLoad ();
for (int i = 0; i < Int32.MaxValue; i++) {
DoStuffAsync();
}
}
Module Module1
Sub Main()
Dim i() As Integer = New Integer() {}
Dim watch As New Stopwatch()
Dim aa, bb As Double
For z As Integer = 0 To 10
watch.Restart()