question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Mono/LLVM as a runtime/jit

See original GitHub issue

Mono has a special “mode” called Mono/LLVM.

The basic premise with Mono/LLVM is that mono JIT is swapped out for LLVM as a JIT.

It would be great to add support for it in BDN to see how LLVM affects performance (if at all 😃)

I don’t know if there is a programmatic way to detect LLVM support, but here is a hack way…

On my machine, I have both versions of mono installed (With+Without LLVM), here is what mono -V reports:

Without LLVM:

Mono JIT compiler version 4.4.1 (Nightly 4.4.1.0/4747417 Wed Jun 22 11:14:49 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug 
    LLVM:          supported, not enabled.
    GC:            sgen

With LLVM:

Mono JIT compiler version 4.4.1 (explicit/4747417 Wed Jun 22 19:25:42 IDT 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug 
    LLVM:          yes(3.6.0svn-mono-master/9f79399)
    GC:            sgen

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
AndreyAkinshincommented, Aug 11, 2016

I failed to build mono+llvm, there are some troubles on my linux machine. However, I looked at the source code, it looks fine. =) Let’s assumed that llvm works until somebody sends a bug report. =)

1reaction
AndreyAkinshincommented, Aug 11, 2016

Ok, I will check it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

LLVM powered Mono : r/programming
I'd be interested to hear why he thinks LLVM can't support try/catch blocks. It already implements exception handling for both C++ and Java ......
Read more >
About advanced programming on Unity and game ...
Mono today has two code generators, the light and fast mini JIT engine, and the heavy duty engine based on the LLVM optimizing...
Read more >
mono
Mono is a software platform designed to allow developers to easily create cross platform applications. It is an open source implementation of Microsoft's...
Read more >
BenchmarkDotNet v0.9.9
#225 Refactoring the roslyn dependency into another package; #226 Support Mono/LLVM as a runtime/jit; #227 Suggestion: change default branch (assignee: ...
Read more >
Full ChangeLog | BenchmarkDotNet
#224 [Breaking change] BenchmarkAttribute become sealed. #225 Refactoring the roslyn dependency into another package; #226 Support Mono/LLVM as a runtime/jit; # ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found