search for: schafmeist

Displaying 20 results from an estimated 43 matches for "schafmeist".

Did you mean: schafmeister
2015 Feb 16
5
[LLVMdev] What is on the LLVM horizon for truly relocatable JITted code?
...uses some problems for implementing a dynamic language like Common Lisp because CL considers data and code to be equivalent. I’d like to move the code into the MPS managed memory and be able to apply copying garbage collection to it. Is this possible? Will it ever be possible? Best, Christian Schafmeister Professor Chemistry Department Temple University
2018 Nov 05
2
ORC JIT api, object files and stackmaps
...rame that contains spilled register arguments. I've figured out how to get access to the stackmaps for code that I load into my system from dynamic libraries that our compiler generates. The answers to questions above will help me get access to the stackmaps from ORC JITted code. -- Christian Schafmeister Professor, Chemistry Department Temple University -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181105/9ccc2c04/attachment.html>
2018 Nov 05
2
ORC JIT api, object files and stackmaps
...rate its usage: https://github.com/llvm-mirror/llvm/blob/master/unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp Note that it still uses LegacyJITSymbolResolver, so I guess it may change any time soon. Hope it helps for the time being. Cheers, Stefan Am 05.11.18 um 19:44 schrieb Christian Schafmeister via llvm-dev: > I think I found the answer to #3 and #4. > (a) I overloaded the SectionMemoryManager::finalizeMemory(...) method.  > (b) I first call the base classes method (maybe not necessary). > (c) At this point the __llvm_stackmaps section that I saved in thread > local memor...
2014 May 27
2
[LLVMdev] Do the LLVM SJLJ intrinsics interact with C++ exception handling and execute C++ cleanup actions?
...ng setjmp/longjmp using clang and they did not execute C++ cleanup actions and calling longjmp bypassed calling destructors on objects that were allocated between the call to setjmp and longjmp. I’m wondering if the LLVM intrinsics behave differently from setjmp/longjmp. Best, .Chris. Christian Schafmeister Professor, Chemistry Department Temple University
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...their unwind information sections (usually .eh_frame)? Also, compare it with the output generated by the working AOT compiler pipeline. It seems it is possible that the unwind information is not properly generated or handled. > > Logan > > On Sun, Apr 12, 2015 at 1:16 PM, Christian 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/7a3504...
2017 Feb 20
2
Inlining with the ORC JIT
...nIEBIoQEQoyEQF3iTvIwIffdEAf9FkbyVYz0&s=ao0EQZ_k7esDdMap8YjoO52BiKyMRHBv7PG4XJdrBOc&e=>). I have followed the new ORC Kaleidoscope demo and set up the ORC layers to do optimization and compilation but the examples are all for function optimization and do not describe inlining. Christian Schafmeister Professor, Chemistry Department Temple University meister at temple.edu <mailto:meister at temple.edu> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170220/2d252107/attachment.html>
2013 Oct 15
1
[LLVMdev] A weird, reproducable problem with MCJIT
...ust suggested the change > below as a quick and easy way to verify that this was the cause of the > problem.  I’ll clean it up. > >   > > -Andy > >   > > From: Yaron Keren [mailto:yaron.keren at gmail.com] > Sent: Monday, October 14, 2013 9:09 PM > To: Christian Schafmeister; Kaylor, Andrew; iain at codesourcery.com > Cc: <llvmdev at cs.uiuc.edu> > Subject: Re: [LLVMdev] A weird, reproducable problem with MCJIT > >   > > Correct or no I don't know, but this change will affect all x86-64 > targets including Linux and Windows as getMaxStu...
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...-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.net> wrote: > I’ve tried every reasonable combination of disabling nounwind and enabling uwtable - it doesn’t fix the problem. > > Here is a copy of the most recent Module with the uwtable attribute attached to cc_call and the function that doesn’t propaga...
2013 Apr 24
2
[LLVMdev] Questions about attaching DWARF source code debugging information to generated LLVM-IR.
...gt; ppc64 - PowerPC 64 > sparc - Sparc > sparcv9 - Sparc V9 > thumb - Thumb > x86 - 32-bit X86: Pentium-Pro and above > x86-64 - 64-bit X86: EM64T and AMD64 > xcore - XCore > > > > > On 2013-04-23 6:26 PM, "Christian Schafmeister" <chris.schaf at verizon.net> > wrote: > >> Dan, >> >> Thanks for taking time out to look at this. >> >> I cut-and-pasted the IR into a text file and ran the following version of >> llc on it using "llc -filetype=obj dwarf1_paste.ll&quo...
2013 Oct 15
2
[LLVMdev] A weird, reproducable problem with MCJIT
Correct or no I don't know, but this change will affect all x86-64 targets including Linux and Windows as getMaxStubSize() is called from the ELF linker as well as the Mach-O linker. 2013/10/15 Christian Schafmeister <chris.schaf at verizon.net> > > With the help of iain at codesourcery.com and andrew.kaylor at intel.com we > tracked the problem down to a bad relocation that was clobbering the > first bytes of the eh_frame. I think this problem/solution may be OS X > specific. > &gt...
2013 Apr 24
0
[LLVMdev] Questions about attaching DWARF source code debugging information to generated LLVM-IR.
...T-VALUE CLOS/SLOT CLOS/BOOT CLOS/KERNEL CLOS/METHOD CLOS/COMBIN CLOS/STD-ACCESSORS CLOS/DEFCLASS CLOS/SLOTVALUE CLOS/STANDARD CLOS/BUILTIN CLOS/CHANGE CLOS/STDMETHOD CLOS/GENERIC CLOS/FIXUP :FRONT CLOS/CONDITIONS CLOS/PRINT CLOS/STREAMS LSP/PPRINT :CLOS ) BRIDGE-COMMON-LISP (copyright Christian E. Schafmeister 2013) - 1.0 CORE>>> (defun gdb () (break "break")) ; --> #<INTERPRETED :name GDB :llh #<LAMBDA-LIST-HANDLER :ClassifiedSymbols Cons_O::nil :comment ""> :environment #[VALUE-ENVIRONMENT :id 27874 ----NO METADATA---- ] :declares Cons_O::nil...
2013 Oct 15
0
[LLVMdev] A weird, reproducable problem with MCJIT
...ought to put a check in to see what the target OS is. I just suggested the change below as a quick and easy way to verify that this was the cause of the problem. I'll clean it up. -Andy From: Yaron Keren [mailto:yaron.keren at gmail.com] Sent: Monday, October 14, 2013 9:09 PM To: Christian Schafmeister; Kaylor, Andrew; iain at codesourcery.com Cc: <llvmdev at cs.uiuc.edu> Subject: Re: [LLVMdev] A weird, reproducable problem with MCJIT Correct or no I don't know, but this change will affect all x86-64 targets including Linux and Windows as getMaxStubSize() is called from the ELF linke...
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...from a bitcode file that I hand edit while I’m trying to sort out whether these attributes can be properly set to avoid the problem that I’m seeing). I’m trying different combinations of function attributes to see if that fixes the problem. Best, .Chris. On Apr 12, 2015, at 12:51 AM, Christian Schafmeister <chris.schaf at verizon.net> wrote: > Logan, > > Thank you very much for the feedback and guidance. > > The passes that I use for JIT compilation are as follows - I don’t see prune-eh in there - could it still be happening? > > (defun create-function-pass-manager-fo...
2015 Jan 24
2
[LLVMdev] "Expected to drop a reference" assertion thrown
...Loc objects using DebugLog:get(unsigned line, unsigned Col, MDNode *Scope, MDNode *InlinedAt=nullptr) The DebugLoc objects are wrapped in one of my classes and when instances get destructed the assertion is thrown. Would anyone have an idea what I’m doing wrong that causes this? Best, Christian Schafmeister Professor Chemistry Department Temple University
2017 Nov 06
3
ORC JIT and multithreading
2013 Apr 23
1
[LLVMdev] Questions about attaching DWARF source code debugging information to generated LLVM-IR.
...hing is wrong with one of your function definition. Glancing at the IR though, I can't tell what though.. (PS. I attached a debugger and got a partial dump of the MachineFunction that causes the assertion in beginFunction. See attached. Good luck, Dan On 2013-04-23 4:55 PM, "Christian Schafmeister" <chris.schaf at verizon.net> wrote: > >I didn't make it clear that I load my Common Lisp application into "lldb" >and then load a compiled bundle into my application using dlopen (I'm on >OS X and I'm generating a kind of shared library called a &quo...
2015 Jan 19
2
[LLVMdev] Assertion: replaceAllUses of value with new value of different type! being thrown all of a sudden
...at apple.com> wrote: > I'm not sure what's going on, but I do know this code wouldn't > (or, shouldn't) compile on ToT for the last couple of months, > since `Value` and `MDNode` belong to different class hierarchies. > >> On 2015 Jan 17, at 15:16, Christian Schafmeister <chris.schaf at verizon.net> wrote: >> >> Hello, >> >> I wonder if someone would know what is going on below. >> >> >> All of a sudden I’m getting this assertion thrown: >> >> Assertion failed: (New->getType() == getType() &&...
2013 Apr 23
0
[LLVMdev] Questions about attaching DWARF source code debugging information to generated LLVM-IR.
...ting a kind of shared library called a "bundle"). Once everything is loaded, the functions from the bundle are accessible to my Common Lisp environment but I don't seem to be able to access the bundle metadata properly from lldb. Best, .Chris. On Apr 23, 2013, at 4:30 PM, Christian Schafmeister <meister at temple.edu> wrote: > > Hey folks, > > I'm wrestling with adding DWARF source code file/line information to my generated LLVM-IR from my Common Lisp compiler. > > I think I'm doing everything properly using the llvm::DIBuilder class - but when I loa...
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
...nd 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 by your compiler. This may help as well. Sincerely, Logan On Sun, Apr 12, 2015 at 8:49 AM, Christian Schafmeister < chris.schaf at verizon.net> wrote: > Logan, > > There may be some confusion here because I wasn’t completely clear about > what was calling what and where “invoke” appeared to be necessary when I > JIT the code and where I realize that “invoke” is absolutely necessary. &gt...
2015 Jan 19
3
[LLVMdev] Assertion: replaceAllUses of value with new value of different type! being thrown all of a sudden
> On 2015-Jan-19, at 12:38, Frédéric Riss <friss at apple.com> wrote: > > >> On Jan 19, 2015, at 12:04 PM, Christian Schafmeister <chris.schaf at verizon.net> wrote: >> >> >> I forgot to mention this in my initial email. >> >> The build of LLVM that I was using was commit a0d5d7aed8e177cea381b3d054d80c212ece9f2c >> The date on the commit is: Date: Fri Sep 26 12:34:06 2014 >&...