Search
Wednesday, 23rd of June 2021, 23:25:39 UTC
2:08:44
drmeister
I'm trying llvm libunwind again. I realized that I had not configured llvm to use the patch properly
2:09:10
drmeister
I was explaining it to Lang on discord and I realized I probably made a mistake.
2:16:44
drmeister
He says that patch is what we need in the short term and he's talking to people at Apple about a long term fix.
3:02:23
beach
Good morning everyone!
3:14:15
drmeister
Bike: I have a solution for libunwind on linux.
3:14:49
drmeister
That patch was not correct for us because it only worked with the old memory manager - we are bleeding edge - using JITLink.
3:15:41
drmeister
Lang suggested I apply the same patch to this file: llvm/lib/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.cpp
3:17:55
drmeister
He's talking with the libunwind people to come up with a better solution.
3:21:08
drmeister
Think about how to use libunwind to get the frame pointers - then we can get rid of the frame pointer dereferencing code.
3:24:30
Bike
we can get it from RBP easily. if we have to worry about frame pointer omitting i don't think that's exposd by libunwind and we'd have to get into the dwarf
3:27:58
drmeister
We only need RBP for our own frames and we don't eliminate RBP.
3:28:12
drmeister
I build cclasp successfully with the patch.
3:37:02
drmeister
I'm going to build this again from scratch and if it works I'll push it.
5:14:44
drmeister
::notify Bike I got clasp to look in the /opt/clasp/lib directory using -rpath
5:14:45
Colleen
drmeister: Got it. I'll let Bike know as soon as possible.
Thursday, 24th of June 2021, 11:25:39 UTC