search for: drmeister

Displaying 10 results from an estimated 10 matches for "drmeister".

2017 Nov 06
3
ORC JIT and multithreading
2017 Feb 20
2
Inlining with the ORC JIT
...s fed, Module by Module, into the ORC JIT? I'd like to add a Module compiled from C++ code into the JIT and then as I add later modules, functions from the first module are inlined in the later ones. I already do this for file compilation/linking in my Common Lisp compiler “Clasp” (github.com/drmeister/clasp <https://urldefense.proofpoint.com/v2/url?u=http-3A__github.com_drmeister_clasp&d=DwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=sSykZW5nIEBIoQEQoyEQF3iTvIwIffdEAf9FkbyVYz0&s=ao0EQZ_k7esDdMap8YjoO52BiKyMRHBv7PG4XJdrBOc&e=>). I ha...
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
This is the only thing that I’ve found that works in terms of getting the exception to propagate out of the JITted function - change the “call” to an “invoke” and hook in the do-nothing landing-pad. https://gist.github.com/drmeister/7a35046f666826206973 Compare line 646 of the file above to the one that I just posted. > https://gist.github.com/drmeister/b97dec956c6ee9ffeb75 The first one propagates the exception and the second one fails. On Apr 12, 2015, at 1:09 AM, Christian Schafmeister <chris.schaf at verizon....
2015 Feb 16
5
[LLVMdev] What is on the LLVM horizon for truly relocatable JITted code?
Hello everyone, Is fully relocatable/position-independent JITted code on the horizon or currently possible with LLVM? I’ve written a Common Lisp compiler (currently called Clasp: https://github.com/drmeister/clasp) in C++ that uses LLVM as the backend and interoperates with C++. It uses copying garbage collection via the Memory Pool System (MPS) garbage collector by Ravenbrook. This garbage collector is precise on the heap and conservative on the stack. Currently I JIT code to wherever LLVM drops th...
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...stian Schafmeister <chris.schaf at verizon.net> wrote: > This is the only thing that I’ve found that works in terms of getting the exception to propagate out of the JITted function - change the “call” to an “invoke” and hook in the do-nothing landing-pad. > > https://gist.github.com/drmeister/7a35046f666826206973 > > Compare line 646 of the file above to the one that I just posted. > >> https://gist.github.com/drmeister/b97dec956c6ee9ffeb75 > > > The first one propagates the exception and the second one fails. > > > > > On Apr 12, 2015, at...
2014 Sep 29
2
[LLVMdev] LLVM Weekly - #39, Sep 29th 2014
...d pass it on to anyone else you think may be interested. Please send any tips or feedback to <asb at asbradbury.org>, or @llvmweekly or @asbradbury on Twitter. ## News and articles from around the web An implementation of Common Lisp with an LLVM backend, Clasp, [has been announced](http://drmeister.wordpress.com/2014/09/18/announcing-clasp/). There's a lot of work to be done on performance, but development is [very active on Github](https://github.com/drmeister/clasp). A backend for the educational 'y86' instruction set architecture has [been started](http://article.gmane.org/gma...
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...m-sys:function-pass-manager-add fpm (llvm-sys:create-cfgsimplification-pass -1)) > (llvm-sys:do-initialization fpm) > fpm)) > > I set things up to add the “uwtable” function attribute to every function that I generate - a current module looks like this: https://gist.github.com/drmeister/107a84d3d5023ebf13a8 > On line 617 is the function (now it has the "uwtable" attribute) that is not propagating an exception thrown in cc_call on line 642. > > A couple of questions: the prototype for cc_call on line 559 has the function attribute “nounwind” - I should probably...
2020 Jan 17
6
ORC JIT Weekly #1
...replace the runConstructors/runDestructors API in LLJIT (providing equivalent functionality: initializers will be discovered by scanning llvm.global_ctors/llvm.global_dtors), and will enable the development of platform specific initializer-support implementations. -- There’s a long-ish chat with @drmeister on the discord #llvm channel about RuntimeDyld vs JITLink, and large vs small code model. -- I have added a new LLJIT example program that demonstrates how to use lazy-reexports in ORCv2 to add lazy compilation: llvm/examples/LLJITExamples/LLJITWithLazyReexports. -- COFF support in the JIT still...
2015 Jul 05
2
[LLVMdev] How to run LLVM3.6.1 on OS X (Yosemite, Xcode6.4) OR how to link bitcode generated by OS X clang with LLVM3.6.1
I’m developing a Common Lisp compiler for OS X and Linux that uses LLVM as its backend and interoperates with C++. It’s at: github.com/drmeister/clang I need to compile one C++ source file containing small, intrinsic functions into an LLVM-IR bitcode file and link it with bitcode generated by my compiler running LLVM3.6.1. I have been unable to do this for more than a year and I was hoping that Apple would catch up. If anyone has sugges...
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
Hi Christian, Thanks for your explanation. I know your situation now. I would suggest you to check the optimization pass used by the JIT compiler, especially IPO/PruneEH.cpp. It will try to add nounwind attribute to functions which will result in the problem you have mentioned earlier. Alternatively, as a workaround, try to add uwtable (function attribute) to the functions that are generated