Bug 114 - Compiling with LLVM enabled does not work
Summary: Compiling with LLVM enabled does not work
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 4.x
Hardware: Macintosh Mac OS
: --- major
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-07-29 14:29 UTC by Andrew Young
Modified: 2011-08-18 18:10 UTC (History)
3 users (show)

Tags: LLVM
Is this bug a regression?: ---
Last known good build:


Attachments
Sample project (179.30 KB, application/zip)
2011-07-29 14:29 UTC, Andrew Young
Details
Build Output text (13.35 KB, text/plain)
2011-07-29 14:30 UTC, Andrew Young
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Andrew Young 2011-07-29 14:29:19 UTC
Created attachment 35 [details]
Sample project

The attachment is an example of a project that compiles and runs just fine when not using LLVM. But does not compile and run when LLVM is enabled. The problem may lie in the restsharp.dll library or the NewtonsoftJsonMonoTouch.dll library.
Comment 1 Andrew Young 2011-07-29 14:30:51 UTC
Created attachment 36 [details]
Build Output text

I have attached the the output of the build failure.
Comment 2 Miguel de Icaza [MSFT] 2011-07-29 17:53:54 UTC
When I try to run the steps manually:

/Developer/MonoTouch/usr/bin/mtouch -v --nomanifest --nosign -dev "/Users/miguel/Downloads/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app" "-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "-r=/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" "-r=/Users/miguel/Downloads/LLVMTest/LLVMTest/lib/NewtonsoftJsonMonoTouch.dll" "-r=/Users/miguel/Downloads/LLVMTest/LLVMTest/lib/RestSharp.MonoTouch.dll" -linksdkonly "-sdk=5.0" --llvm --fat "/Users/miguel/Downloads/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.exe" --keeptemp
Framework is: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk

And then when the first error shows up, run manually the failing command:

/Developer/MonoTouch/usr/bin/mtouch -v --nomanifest --nosign -dev "/Users/miguel/Downloads/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app" "-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "-r=/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" "-r=/Users/miguel/Downloads/LLVMTest/LLVMTest/lib/NewtonsoftJsonMonoTouch.dll" "-r=/Users/miguel/Downloads/LLVMTest/LLVMTest/lib/RestSharp.MonoTouch.dll" -linksdkonly "-sdk=5.0" --llvm --fat "/Users/miguel/Downloads/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.exe" --keeptemp
Framework is: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk

This is what LLVM has to say:


mac$ MONO_PATH=/Users/miguel/Downloads/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/b9/zz83ypsd6gj2bygzlw08gvxm0000gn/T/tmp7d6a8977.tmp/RestSharp.MonoTouch.dll.6.s "/Users/miguel/Downloads/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/RestSharp.MonoTouch.dll"
Mono Ahead of Time compiler - compiling assembly /Users/miguel/Downloads/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/RestSharp.MonoTouch.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/b9/zz83ypsd6gj2bygzlw08gvxm0000gn/T/tmp7d6a8977.tmp/RestSharp.MonoTouch.dll.6.s.opt.bc /var/folders/b9/zz83ypsd6gj2bygzlw08gvxm0000gn/T/tmp7d6a8977.tmp/RestSharp.MonoTouch.dll.6.s.bc
Instruction does not dominate all uses!
  %t631 = load i32* %44
  %47 = inttoptr i32 %t631 to i32*
Instruction does not dominate all uses!
  %47 = inttoptr i32 %t631 to i32*
  %48 = getelementptr i32* %47, i32 2
Instruction does not dominate all uses!
  %48 = getelementptr i32* %47, i32 2
  %t73 = load i32* %48
Instruction does not dominate all uses!
  %t73 = load i32* %48
  %49 = inttoptr i32 %t73 to i32*
Instruction does not dominate all uses!
  %49 = inttoptr i32 %t73 to i32*
  %50 = getelementptr i32* %49, i32 3
Instruction does not dominate all uses!
  %50 = getelementptr i32* %49, i32 3
  %t74 = load i32* %50
Instruction does not dominate all uses!
  %t74 = load i32* %50
  %51 = icmp eq i32 %t74, %t75
Instruction does not dominate all uses!
  %51 = icmp eq i32 %t74, %t75
  br i1 %51, label %BB42, label %BB45
Instruction does not dominate all uses!
  %t1022 = load i32* %69
  %72 = inttoptr i32 %t1022 to i32*
Instruction does not dominate all uses!
  %72 = inttoptr i32 %t1022 to i32*
  %73 = getelementptr i32* %72, i32 2
Instruction does not dominate all uses!
  %73 = getelementptr i32* %72, i32 2
  %t112 = load i32* %73
Instruction does not dominate all uses!
  %t112 = load i32* %73
  %74 = inttoptr i32 %t112 to i32*
Instruction does not dominate all uses!
  %74 = inttoptr i32 %t112 to i32*
  %75 = getelementptr i32* %74, i32 3
Instruction does not dominate all uses!
  %75 = getelementptr i32* %74, i32 3
  %t113 = load i32* %75
Instruction does not dominate all uses!
  %t113 = load i32* %75
  %76 = icmp eq i32 %t113, %t114
Instruction does not dominate all uses!
  %76 = icmp eq i32 %t113, %t114
  br i1 %76, label %BB70, label %BB73
Broken module found, compilation aborted!
0  opt               0x004f4568 llvm::PrettyStackTraceString::~PrettyStackTraceString() + 12504
1  opt               0x004f5647 llvm::PrettyStackTraceString::~PrettyStackTraceString() + 16823
2  libsystem_c.dylib 0x9a41559b _sigtramp + 43
3  libsystem_c.dylib 0xffffffff _sigtramp + 1706994319
4  opt               0x004f4a4b llvm::PrettyStackTraceString::~PrettyStackTraceString() + 13755
5  opt               0x004a9b16 llvm::CallbackVH::deleted() + 98726
6  opt               0x0047422f llvm::BasicBlockPass::~BasicBlockPass() + 32447
7  opt               0x00206e29 std::_Rb_tree<llvm::Function const*, std::pair<llvm::Function const* const, llvm::CallGraphNode*>, std::_Select1st<std::pair<llvm::Function const* const, llvm::CallGraphNode*> >, std::less<llvm::Function const*>, std::allocator<std::pair<llvm::Function const* const, llvm::CallGraphNode*> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<llvm::Function const* const, llvm::CallGraphNode*> >, std::pair<llvm::Function const* const, llvm::CallGraphNode*> const&) + 7433
8  opt               0x00207e32 std::_Rb_tree<llvm::Function const*, std::pair<llvm::Function const* const, llvm::CallGraphNode*>, std::_Select1st<std::pair<llvm::Function const* const, llvm::CallGraphNode*> >, std::less<llvm::Function const*>, std::allocator<std::pair<llvm::Function const* const, llvm::CallGraphNode*> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<llvm::Function const* const, llvm::CallGraphNode*> >, std::pair<llvm::Function const* const, llvm::CallGraphNode*> const&) + 11538
9  opt               0x00475ecf llvm::BasicBlockPass::~BasicBlockPass() + 39775
10 opt               0x0047619c llvm::BasicBlockPass::~BasicBlockPass() + 40492
11 opt               0x0047629b llvm::BasicBlockPass::~BasicBlockPass() + 40747
12 opt               0x0000f324 llvm::scc_iterator<llvm::CallGraphNode*, llvm::GraphTraits<llvm::CallGraphNode*> >::GetNextSCC() + 22084
13 opt               0x000022c5
Stack dump:
0.	Program arguments: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/b9/zz83ypsd6gj2bygzlw08gvxm0000gn/T/tmp7d6a8977.tmp/RestSharp.MonoTouch.dll.6.s.opt.bc /var/folders/b9/zz83ypsd6gj2bygzlw08gvxm0000gn/T/tmp7d6a8977.tmp/RestSharp.MonoTouch.dll.6.s.bc 
1.	Running pass 'CallGraph Pass Manager' on module '/var/folders/b9/zz83ypsd6gj2bygzlw08gvxm0000gn/T/tmp7d6a8977.tmp/RestSharp.MonoTouch.dll.6.s.bc'.
2.	Running pass 'Module Verifier' on function '@RestSharp.MonoTouch_RestSharp_Http_GetRawResponse_System_Net_HttpWebRequest'
mac$
Comment 3 Sebastien Pouliot 2011-08-03 21:21:34 UTC
I'm able to build your solution (as attached) without any error.

Since your log shows the infamous error 134 could you try to build your solution with "Don't link" in the Linker Options ? If it works then it could be a duplicate of bug #144 (fixed).

If so then you'll get the fix in MT 4.1 and can use the workaround (from #144) in the mean time.
Comment 4 Andrew Young 2011-08-03 23:57:26 UTC
I tried building with "Don't link" but still does not work. This is what the build output says.



Building: LLVMTest (Release|iPhone)

Detecting signing identity...
Provisioning profile: "Team Provisioning Profile: *" (D254D404-1F78-41B2-B28B-71774AACD2FD)
Signing Identity: "iPhone Developer: Andrew Young (74SJ9NHE44)"
App ID: "Q28MDA9672.llvmtest"

Performing main compilation...

Updating CodeBehind files
Updated MainWindow.xib.designer.cs
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.exe" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" "/r:/Users/Andrew/Projects/LLVMTest/LLVMTest/lib/NewtonsoftJsonMonoTouch.dll" "/r:/Users/Andrew/Projects/LLVMTest/LLVMTest/lib/RestSharp.MonoTouch.dll" /nologo /warn:4 /optimize- /codepage:utf8 /t:exe "/Users/Andrew/Projects/LLVMTest/LLVMTest/MainWindow.xib.designer.cs" "/Users/Andrew/Projects/LLVMTest/LLVMTest/Main.cs" "/Users/Andrew/Projects/LLVMTest/LLVMTest/MyButton.cs" "/Users/Andrew/Projects/LLVMTest/LLVMTest/MyNavController.cs" "/Users/Andrew/Projects/LLVMTest/LLVMTest/MyView.cs" "/Users/Andrew/Projects/LLVMTest/LLVMTest/MyViewController.cs" 
Build complete -- 0 errors, 0 warnings

Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -v --nomanifest --nosign -dev "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app" "-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "-r=/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" "-r=/Users/Andrew/Projects/LLVMTest/LLVMTest/lib/NewtonsoftJsonMonoTouch.dll" "-r=/Users/Andrew/Projects/LLVMTest/LLVMTest/lib/RestSharp.MonoTouch.dll" -nolink "-sdk=4.3" --llvm --fat -v -v -v "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.exe"
Framework is: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk
Copied /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.exe to /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/LLVMTest.exe
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/LLVMTest.exe.6.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/LLVMTest.exe"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/LLVMTest.exe
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/LLVMTest.exe.6.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/LLVMTest.exe.6.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv6-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/LLVMTest.exe.6.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/LLVMTest.exe.6.s.opt.bc
Code: 1308 Info: 67 Ex Info: 84 Unwind Info: 51 Class Info: 2761 PLT: 32 GOT Info: 386 GOT: 224 Offsets: 216
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/LLVMTest.exe.6.s'.
Linking symbol: '_mono_aot_module_LLVMTest_info'.
Compiled 20 out of 20 methods (100%)
Methods compiled with LLVM: 18 (90%)
Methods without GOT slots: 10 (50%)
Direct calls: 1 (100%)
JIT time: 5 ms, Generation time: 47 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv7-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/LLVMTest.exe.7.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/LLVMTest.exe"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/LLVMTest.exe
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/LLVMTest.exe.7.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/LLVMTest.exe.7.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv7-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/LLVMTest.exe.7.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/LLVMTest.exe.7.s.opt.bc
Code: 1308 Info: 67 Ex Info: 84 Unwind Info: 51 Class Info: 2761 PLT: 32 GOT Info: 386 GOT: 224 Offsets: 216
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/LLVMTest.exe.7.s'.
Linking symbol: '_mono_aot_module_LLVMTest_info'.
Compiled 20 out of 20 methods (100%)
Methods compiled with LLVM: 18 (90%)
Methods without GOT slots: 10 (50%)
Direct calls: 1 (100%)
JIT time: 5 ms, Generation time: 44 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/monotouch.dll.6.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/monotouch.dll"
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/mscorlib.dll.6.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/mscorlib.dll"
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.dll.6.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.dll"
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/Mono.Security.dll.6.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/Mono.Security.dll"
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Core.dll.6.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Core.dll"
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/RestSharp.MonoTouch.dll.6.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/RestSharp.MonoTouch.dll"
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.Linq.dll.6.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Xml.Linq.dll"
Instruction does not dominate all uses!
  %t631 = load i32* %44
  %47 = inttoptr i32 %t631 to i32*
Instruction does not dominate all uses!
  %47 = inttoptr i32 %t631 to i32*
  %48 = getelementptr i32* %47, i32 2
Instruction does not dominate all uses!
  %48 = getelementptr i32* %47, i32 2
  %t73 = load i32* %48
Instruction does not dominate all uses!
  %t73 = load i32* %48
  %49 = inttoptr i32 %t73 to i32*
Instruction does not dominate all uses!
  %49 = inttoptr i32 %t73 to i32*
  %50 = getelementptr i32* %49, i32 3
Instruction does not dominate all uses!
  %50 = getelementptr i32* %49, i32 3
  %t74 = load i32* %50
Instruction does not dominate all uses!
  %t74 = load i32* %50
  %51 = icmp eq i32 %t74, %t75
Instruction does not dominate all uses!
  %51 = icmp eq i32 %t74, %t75
  br i1 %51, label %BB42, label %BB45
Instruction does not dominate all uses!
  %t1022 = load i32* %69
  %72 = inttoptr i32 %t1022 to i32*
Instruction does not dominate all uses!
  %72 = inttoptr i32 %t1022 to i32*
  %73 = getelementptr i32* %72, i32 2
Instruction does not dominate all uses!
  %73 = getelementptr i32* %72, i32 2
  %t112 = load i32* %73
Instruction does not dominate all uses!
  %t112 = load i32* %73
  %74 = inttoptr i32 %t112 to i32*
Instruction does not dominate all uses!
  %74 = inttoptr i32 %t112 to i32*
  %75 = getelementptr i32* %74, i32 3
Instruction does not dominate all uses!
  %75 = getelementptr i32* %74, i32 3
  %t113 = load i32* %75
Instruction does not dominate all uses!
  %t113 = load i32* %75
  %76 = icmp eq i32 %t113, %t114
Instruction does not dominate all uses!
  %76 = icmp eq i32 %t113, %t114
  br i1 %76, label %BB70, label %BB73
Broken module found, compilation aborted!
0  opt               0x004f4568 llvm::PrettyStackTraceString::~PrettyStackTraceString() + 12504
1  opt               0x004f5647 llvm::PrettyStackTraceString::~PrettyStackTraceString() + 16823
2  libsystem_c.dylib 0x95ccb59b _sigtramp + 43
3  libsystem_c.dylib 0xffffffff _sigtramp + 1781746319
4  opt               0x004f4a4b llvm::PrettyStackTraceString::~PrettyStackTraceString() + 13755
5  opt               0x004a9b16 llvm::CallbackVH::deleted() + 98726
6  opt               0x0047422f llvm::BasicBlockPass::~BasicBlockPass() + 32447
7  opt               0x00206e29 std::_Rb_tree<llvm::Function const*, std::pair<llvm::Function const* const, llvm::CallGraphNode*>, std::_Select1st<std::pair<llvm::Function const* const, llvm::CallGraphNode*> >, std::less<llvm::Function const*>, std::allocator<std::pair<llvm::Function const* const, llvm::CallGraphNode*> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<llvm::Function const* const, llvm::CallGraphNode*> >, std::pair<llvm::Function const* const, llvm::CallGraphNode*> const&) + 7433
8  opt               0x00207e32 std::_Rb_tree<llvm::Function const*, std::pair<llvm::Function const* const, llvm::CallGraphNode*>, std::_Select1st<std::pair<llvm::Function const* const, llvm::CallGraphNode*> >, std::less<llvm::Function const*>, std::allocator<std::pair<llvm::Function const* const, llvm::CallGraphNode*> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<llvm::Function const* const, llvm::CallGraphNode*> >, std::pair<llvm::Function const* const, llvm::CallGraphNode*> const&) + 11538
9  opt               0x00475ecf llvm::BasicBlockPass::~BasicBlockPass() + 39775
10 opt               0x0047619c llvm::BasicBlockPass::~BasicBlockPass() + 40492
11 opt               0x0047629b llvm::BasicBlockPass::~BasicBlockPass() + 40747
12 opt               0x0000f324 llvm::scc_iterator<llvm::CallGraphNode*, llvm::GraphTraits<llvm::CallGraphNode*> >::GetNextSCC() + 22084
13 opt               0x000022c5
Stack dump:
0.	Program arguments: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/RestSharp.MonoTouch.dll.6.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/RestSharp.MonoTouch.dll.6.s.bc 
1.	Running pass 'CallGraph Pass Manager' on module '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/RestSharp.MonoTouch.dll.6.s.bc'.
2.	Running pass 'Module Verifier' on function '@RestSharp.MonoTouch_RestSharp_Http_GetRawResponse_System_Net_HttpWebRequest'
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/RestSharp.MonoTouch.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/RestSharp.MonoTouch.dll.6.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/RestSharp.MonoTouch.dll.6.s.bc
Compilation exited with code 1, command:
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/RestSharp.MonoTouch.dll.6.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/RestSharp.MonoTouch.dll"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Xml.Linq.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.Linq.dll.6.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.Linq.dll.6.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv6-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.Linq.dll.6.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.Linq.dll.6.s.opt.bc
Code: 15348 Info: 4126 Ex Info: 7159 Unwind Info: 303 Class Info: 3544 PLT: 510 GOT Info: 9598 GOT: 3180 Offsets: 9114
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.Linq.dll.6.s'.
Linking symbol: '_mono_aot_module_System_Xml_Linq_info'.
Compiled 1140 out of 1140 methods (100%)
Methods compiled with LLVM: 1065 (93%)
Methods without GOT slots: 714 (62%)
Direct calls: 0 (100%)
JIT time: 268 ms, Generation time: 2926 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv7-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.Linq.dll.7.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Xml.Linq.dll"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/Mono.Security.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/Mono.Security.dll.6.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/Mono.Security.dll.6.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv6-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/Mono.Security.dll.6.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/Mono.Security.dll.6.s.opt.bc
Code: 36232 Info: 9268 Ex Info: 7661 Unwind Info: 1052 Class Info: 11347 PLT: 1068 GOT Info: 10358 GOT: 7516 Offsets: 16827
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/Mono.Security.dll.6.s'.
Linking symbol: '_mono_aot_module_Mono_Security_info'.
Compiled 1961 out of 1961 methods (100%)
Methods compiled with LLVM: 1920 (97%)
Methods without GOT slots: 1127 (57%)
Direct calls: 93 (30%)
JIT time: 407 ms, Generation time: 7051 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv7-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/Mono.Security.dll.7.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/Mono.Security.dll"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Xml.Linq.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.Linq.dll.7.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.Linq.dll.7.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv7-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.Linq.dll.7.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.Linq.dll.7.s.opt.bc
Code: 15344 Info: 4126 Ex Info: 7159 Unwind Info: 303 Class Info: 3544 PLT: 510 GOT Info: 9598 GOT: 3180 Offsets: 9114
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.Linq.dll.7.s'.
Linking symbol: '_mono_aot_module_System_Xml_Linq_info'.
Compiled 1140 out of 1140 methods (100%)
Methods compiled with LLVM: 1065 (93%)
Methods without GOT slots: 714 (62%)
Direct calls: 0 (100%)
JIT time: 226 ms, Generation time: 2996 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.dll.6.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Xml.dll"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Core.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Core.dll.6.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Core.dll.6.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv6-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Core.dll.6.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Core.dll.6.s.opt.bc
Code: 39076 Info: 9362 Ex Info: 31453 Unwind Info: 1178 Class Info: 3167 PLT: 2152 GOT Info: 95916 GOT: 11016 Offsets: 17729
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Core.dll.6.s'.
Linking symbol: '_mono_aot_module_System_Core_info'.
Compiled 2051 out of 2051 methods (100%)
Methods compiled with LLVM: 1961 (95%)
Methods without GOT slots: 1235 (60%)
Direct calls: 26 (49%)
JIT time: 414 ms, Generation time: 7555 ms, Assembly+Link time: 1 ms.
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv7-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Core.dll.7.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Core.dll"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/Mono.Security.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/Mono.Security.dll.7.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/Mono.Security.dll.7.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv7-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/Mono.Security.dll.7.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/Mono.Security.dll.7.s.opt.bc
Code: 35812 Info: 9268 Ex Info: 7661 Unwind Info: 1052 Class Info: 11347 PLT: 1068 GOT Info: 10358 GOT: 7516 Offsets: 16827
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/Mono.Security.dll.7.s'.
Linking symbol: '_mono_aot_module_Mono_Security_info'.
Compiled 1961 out of 1961 methods (100%)
Methods compiled with LLVM: 1920 (97%)
Methods without GOT slots: 1127 (57%)
Direct calls: 93 (30%)
JIT time: 770 ms, Generation time: 9865 ms, Assembly+Link time: 0 ms.
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Core.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Core.dll.7.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Core.dll.7.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv7-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Core.dll.7.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Core.dll.7.s.opt.bc
Code: 38956 Info: 9362 Ex Info: 31453 Unwind Info: 1178 Class Info: 3167 PLT: 2152 GOT Info: 95916 GOT: 11016 Offsets: 17729
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Core.dll.7.s'.
Linking symbol: '_mono_aot_module_System_Core_info'.
Compiled 2051 out of 2051 methods (100%)
Methods compiled with LLVM: 1961 (95%)
Methods without GOT slots: 1235 (60%)
Direct calls: 26 (49%)
JIT time: 639 ms, Generation time: 9919 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/NewtonsoftJsonMonoTouch.dll.6.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/NewtonsoftJsonMonoTouch.dll"
Compilation exited with code 134, command:
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/NewtonsoftJsonMonoTouch.dll.6.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/NewtonsoftJsonMonoTouch.dll"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/monotouch.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/monotouch.dll.6.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/monotouch.dll.6.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv6-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/monotouch.dll.6.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/monotouch.dll.6.s.opt.bc
Code: 448740 Info: 121564 Ex Info: 55189 Unwind Info: 5328 Class Info: 127364 PLT: 5104 GOT Info: 110484 GOT: 71896 Offsets: 169741
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/monotouch.dll.6.s'.
Linking symbol: '_mono_aot_module_monotouch_info'.
Compiled 16013 out of 16013 methods (100%)
Methods compiled with LLVM: 13807 (86%)
Methods without GOT slots: 4263 (26%)
Direct calls: 221 (18%)
JIT time: 2966 ms, Generation time: 39256 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv7-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/monotouch.dll.7.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/monotouch.dll"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Xml.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.dll.6.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.dll.6.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv6-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.dll.6.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.dll.6.s.opt.bc
Code: 194684 Info: 52095 Ex Info: 29184 Unwind Info: 3075 Class Info: 38574 PLT: 3405 GOT Info: 38242 GOT: 29448 Offsets: 70705
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.dll.6.s'.
Linking symbol: '_mono_aot_module_System_Xml_info'.
Compiled 8021 out of 8021 methods (100%)
Methods compiled with LLVM: 7829 (97%)
Methods without GOT slots: 4846 (60%)
Direct calls: 473 (42%)
JIT time: 2944 ms, Generation time: 31638 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv7-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.dll.7.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Xml.dll"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/mscorlib.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/mscorlib.dll.6.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/mscorlib.dll.6.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv6-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/mscorlib.dll.6.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/mscorlib.dll.6.s.opt.bc
Code: 415596 Info: 90351 Ex Info: 103233 Unwind Info: 5390 Class Info: 61649 PLT: 7976 GOT Info: 170396 GOT: 69132 Offsets: 162921
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/mscorlib.dll.6.s'.
Linking symbol: '_mono_aot_module_mscorlib_info'.
Compiled 17933 out of 17933 methods (100%)
Methods compiled with LLVM: 16490 (91%)
Methods without GOT slots: 11843 (66%)
Direct calls: 1214 (47%)
JIT time: 3137 ms, Generation time: 54712 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv7-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/mscorlib.dll.7.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/mscorlib.dll"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Xml.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.dll.7.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.dll.7.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv7-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.dll.7.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.dll.7.s.opt.bc
Code: 194472 Info: 52095 Ex Info: 29184 Unwind Info: 3075 Class Info: 38574 PLT: 3405 GOT Info: 38242 GOT: 29448 Offsets: 70705
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.dll.7.s'.
Linking symbol: '_mono_aot_module_System_Xml_info'.
Compiled 8021 out of 8021 methods (100%)
Methods compiled with LLVM: 7829 (97%)
Methods without GOT slots: 4846 (60%)
Direct calls: 473 (42%)
JIT time: 1731 ms, Generation time: 25988 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Runtime.Serialization.dll.6.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Runtime.Serialization.dll"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/monotouch.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/monotouch.dll.7.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/monotouch.dll.7.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv7-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/monotouch.dll.7.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/monotouch.dll.7.s.opt.bc
Code: 448292 Info: 121564 Ex Info: 55189 Unwind Info: 5328 Class Info: 127364 PLT: 5104 GOT Info: 110484 GOT: 71896 Offsets: 169741
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/monotouch.dll.7.s'.
Linking symbol: '_mono_aot_module_monotouch_info'.
Compiled 16013 out of 16013 methods (100%)
Methods compiled with LLVM: 13807 (86%)
Methods without GOT slots: 4263 (26%)
Direct calls: 221 (18%)
JIT time: 3096 ms, Generation time: 32111 ms, Assembly+Link time: 0 ms.
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.dll
Could not load signature of System.Text.RegularExpressions.Regex:CompileToAssembly due to: 
Could not load signature of System.Text.RegularExpressions.Regex:CompileToAssembly due to: 
Could not load signature of System.Text.RegularExpressions.Regex:CompileToAssembly due to: 
Could not load signature of System.Text.RegularExpressions.Regex:CompileToAssembly due to: 
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.dll.6.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.dll.6.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv6-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.dll.6.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.dll.6.s.opt.bc
Code: 84536 Info: 39137 Ex Info: 40856 Unwind Info: 2201 Class Info: 36987 PLT: 3645 GOT Info: 59826 GOT: 28964 Offsets: 67004
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.dll.6.s'.
Linking symbol: '_mono_aot_module_System_info'.
Compiled 7185 out of 7189 methods (99%)
1 methods have other problems (0%)
Methods compiled with LLVM: 6965 (96%)
Methods without GOT slots: 4441 (61%)
Direct calls: 217 (51%)
JIT time: 1245 ms, Generation time: 79822 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv7-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.dll.7.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.dll"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Runtime.Serialization.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Runtime.Serialization.dll.6.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Runtime.Serialization.dll.6.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv6-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Runtime.Serialization.dll.6.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Runtime.Serialization.dll.6.s.opt.bc
Code: 117708 Info: 22050 Ex Info: 15531 Unwind Info: 1374 Class Info: 4317 PLT: 1770 GOT Info: 45628 GOT: 11004 Offsets: 36172
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Runtime.Serialization.dll.6.s'.
Linking symbol: '_mono_aot_module_System_Runtime_Serialization_info'.
Compiled 4159 out of 4159 methods (100%)
Methods compiled with LLVM: 3813 (91%)
Methods without GOT slots: 2683 (64%)
Direct calls: 11 (57%)
JIT time: 962 ms, Generation time: 10553 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv7-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Runtime.Serialization.dll.7.s "/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Runtime.Serialization.dll"
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Runtime.Serialization.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Runtime.Serialization.dll.7.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Runtime.Serialization.dll.7.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv7-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Runtime.Serialization.dll.7.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Runtime.Serialization.dll.7.s.opt.bc
Code: 116848 Info: 22050 Ex Info: 15531 Unwind Info: 1374 Class Info: 4317 PLT: 1770 GOT Info: 45628 GOT: 11004 Offsets: 36172
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Runtime.Serialization.dll.7.s'.
Linking symbol: '_mono_aot_module_System_Runtime_Serialization_info'.
Compiled 4159 out of 4159 methods (100%)
Methods compiled with LLVM: 3813 (91%)
Methods without GOT slots: 2683 (64%)
Direct calls: 11 (57%)
JIT time: 726 ms, Generation time: 9998 ms, Assembly+Link time: 0 ms.
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/mscorlib.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/mscorlib.dll.7.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/mscorlib.dll.7.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv7-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/mscorlib.dll.7.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/mscorlib.dll.7.s.opt.bc
Code: 412800 Info: 90351 Ex Info: 103233 Unwind Info: 5390 Class Info: 61649 PLT: 7976 GOT Info: 170396 GOT: 69132 Offsets: 162921
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/mscorlib.dll.7.s'.
Linking symbol: '_mono_aot_module_mscorlib_info'.
Compiled 17933 out of 17933 methods (100%)
Methods compiled with LLVM: 16490 (91%)
Methods without GOT slots: 11843 (66%)
Direct calls: 1214 (47%)
JIT time: 3120 ms, Generation time: 43318 ms, Assembly+Link time: 0 ms.
Mono Ahead of Time compiler - compiling assembly /Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.dll
Could not load signature of System.Text.RegularExpressions.Regex:CompileToAssembly due to: 
Could not load signature of System.Text.RegularExpressions.Regex:CompileToAssembly due to: 
Could not load signature of System.Text.RegularExpressions.Regex:CompileToAssembly due to: 
Could not load signature of System.Text.RegularExpressions.Regex:CompileToAssembly due to: 
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.dll.7.s.opt.bc /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.dll.7.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6 -asm-verbose=false -mtriple=armv7-darwin -relocation-model=static -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.dll.7.s /var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.dll.7.s.opt.bc
Code: 84092 Info: 39137 Ex Info: 40856 Unwind Info: 2201 Class Info: 36987 PLT: 3645 GOT Info: 59826 GOT: 28964 Offsets: 67004
Output file: '/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.dll.7.s'.
Linking symbol: '_mono_aot_module_System_info'.
Compiled 7185 out of 7189 methods (99%)
1 methods have other problems (0%)
Methods compiled with LLVM: 6965 (96%)
Methods without GOT slots: 4441 (61%)
Direct calls: 217 (51%)
JIT time: 1135 ms, Generation time: 59593 ms, Assembly+Link time: 0 ms.

---------------------- Done ----------------------

Build: 1 error, 1 warning
Comment 5 Sebastien Pouliot 2011-08-04 08:15:28 UTC
You get a 134 before the LLVM crasher (which looks like what Miguel had too). I do not get any of them :|

...

/Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm
--aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/NewtonsoftJsonMonoTouch.dll.6.s
"/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/NewtonsoftJsonMonoTouch.dll"
Compilation exited with code 134, command:
MONO_PATH=/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app

...

/Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm
--aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/System.Xml.Linq.dll.6.s
"/Users/Andrew/Projects/LLVMTest/LLVMTest/bin/iPhone/Release/LLVMTest.app/System.Xml.Linq.dll"
Instruction does not dominate all uses!
  %t631 = load i32* %44
  %47 = inttoptr i32 %t631 to i32*
Instruction does not dominate all uses!
  %47 = inttoptr i32 %t631 to i32*
  %48 = getelementptr i32* %47, i32 2
Instruction does not dominate all uses!
  %48 = getelementptr i32* %47, i32 2
  %t73 = load i32* %48
Instruction does not dominate all uses!
  %t73 = load i32* %48
  %49 = inttoptr i32 %t73 to i32*
Instruction does not dominate all uses!
  %49 = inttoptr i32 %t73 to i32*
  %50 = getelementptr i32* %49, i32 3
Instruction does not dominate all uses!
  %50 = getelementptr i32* %49, i32 3
  %t74 = load i32* %50
Instruction does not dominate all uses!
  %t74 = load i32* %50
  %51 = icmp eq i32 %t74, %t75
Instruction does not dominate all uses!
  %51 = icmp eq i32 %t74, %t75
  br i1 %51, label %BB42, label %BB45
Instruction does not dominate all uses!
  %t1022 = load i32* %69
  %72 = inttoptr i32 %t1022 to i32*
Instruction does not dominate all uses!
  %72 = inttoptr i32 %t1022 to i32*
  %73 = getelementptr i32* %72, i32 2
Instruction does not dominate all uses!
  %73 = getelementptr i32* %72, i32 2
  %t112 = load i32* %73
Instruction does not dominate all uses!
  %t112 = load i32* %73
  %74 = inttoptr i32 %t112 to i32*
Instruction does not dominate all uses!
  %74 = inttoptr i32 %t112 to i32*
  %75 = getelementptr i32* %74, i32 3
Instruction does not dominate all uses!
  %75 = getelementptr i32* %74, i32 3
  %t113 = load i32* %75
Instruction does not dominate all uses!
  %t113 = load i32* %75
  %76 = icmp eq i32 %t113, %t114
Instruction does not dominate all uses!
  %76 = icmp eq i32 %t113, %t114
  br i1 %76, label %BB70, label %BB73
Broken module found, compilation aborted!
0  opt               0x004f4568
llvm::PrettyStackTraceString::~PrettyStackTraceString() + 12504
1  opt               0x004f5647
llvm::PrettyStackTraceString::~PrettyStackTraceString() + 16823
2  libsystem_c.dylib 0x95ccb59b _sigtramp + 43
3  libsystem_c.dylib 0xffffffff _sigtramp + 1781746319
4  opt               0x004f4a4b
llvm::PrettyStackTraceString::~PrettyStackTraceString() + 13755
5  opt               0x004a9b16 llvm::CallbackVH::deleted() + 98726
6  opt               0x0047422f llvm::BasicBlockPass::~BasicBlockPass() + 32447
7  opt               0x00206e29 std::_Rb_tree<llvm::Function const*,
std::pair<llvm::Function const* const, llvm::CallGraphNode*>,
std::_Select1st<std::pair<llvm::Function const* const, llvm::CallGraphNode*> >,
std::less<llvm::Function const*>, std::allocator<std::pair<llvm::Function
const* const, llvm::CallGraphNode*> >
>::_M_insert_unique(std::_Rb_tree_iterator<std::pair<llvm::Function const*
const, llvm::CallGraphNode*> >, std::pair<llvm::Function const* const,
llvm::CallGraphNode*> const&) + 7433
8  opt               0x00207e32 std::_Rb_tree<llvm::Function const*,
std::pair<llvm::Function const* const, llvm::CallGraphNode*>,
std::_Select1st<std::pair<llvm::Function const* const, llvm::CallGraphNode*> >,
std::less<llvm::Function const*>, std::allocator<std::pair<llvm::Function
const* const, llvm::CallGraphNode*> >
>::_M_insert_unique(std::_Rb_tree_iterator<std::pair<llvm::Function const*
const, llvm::CallGraphNode*> >, std::pair<llvm::Function const* const,
llvm::CallGraphNode*> const&) + 11538
9  opt               0x00475ecf llvm::BasicBlockPass::~BasicBlockPass() + 39775
10 opt               0x0047619c llvm::BasicBlockPass::~BasicBlockPass() + 40492
11 opt               0x0047629b llvm::BasicBlockPass::~BasicBlockPass() + 40747
12 opt               0x0000f324 llvm::scc_iterator<llvm::CallGraphNode*,
llvm::GraphTraits<llvm::CallGraphNode*> >::GetNextSCC() + 22084
13 opt               0x000022c5
Stack dump:
0.    Program arguments: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg
-domtree -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh
-inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls
-instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree
-loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm
-lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa
-iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll
-instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree
-memdep -dse -adce -simplifycfg -preverify -domtree -verify -o
/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/RestSharp.MonoTouch.dll.6.s.opt.bc
/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/RestSharp.MonoTouch.dll.6.s.bc 
1.    Running pass 'CallGraph Pass Manager' on module
'/var/folders/jr/9trcb7xd4hs341rkrzd55k5m0000gr/T/tmp9a4705.tmp/RestSharp.MonoTouch.dll.6.s.bc'.
2.    Running pass 'Module Verifier' on function
'@RestSharp.MonoTouch_RestSharp_Http_GetRawResponse_System_Net_HttpWebRequest'

...

What exact version of MT and MacOS X are you using ?
Comment 6 Andrew Young 2011-08-04 12:43:02 UTC
Currently I'm on MT 4.0.4.1. OS X Lion. However this bug has been around since the first version of MT 4 while I was still on OS X Snow Leopard.
Comment 7 Sebastien Pouliot 2011-08-04 13:08:33 UTC
Bug*s* -> there are two failures: the 134 and the LLVM crasher (w/stack trace). The later one is much more "visual" than the earlier one - but they are separate issues affecting your project.

I'll ask someone to confirm if they can duplicate this with the latest MT code.
Comment 8 Sebastien Pouliot 2011-08-04 15:49:55 UTC
Chris can also build your solution (as attached) without hitting the 134 or the llvm crasher. So it looks like both were fixed since 4.0.4.1 (the 134 is likely a dupe of the recently solved linker issue). 

Please try this again once MT 4.1 is released and (worse case) re-open the bug if you can still duplicate the issue. Thanks.
Comment 9 Andrew Young 2011-08-04 17:16:41 UTC
Thanks for the feedback. Do you have an estimate on when 4.1 is coming out?
Comment 10 Andrew Young 2011-08-18 18:10:28 UTC
Updated to MT 4.1 RC1 beta. Works now.