[LLVMdev] Dynamically loaded passes under OS X
reid at x10sys.com
Fri Jan 6 13:29:02 PST 2006
The answer lies in the lib/System/ltdl.c which is the dynamic loader
used by LLVM for cross platform dynamic loading. If there are paths or
files that we're not looking for on OS/X then that needs to be fixed.
Could you be a little more specific about what failures you are
On Fri, 2006-01-06 at 14:25 -0600, Robert L. Bocchino Jr. wrote:
> In the past, I haven't been able to get dynamically loaded passes to
> work under OS X. When I follow the instructions in the LLVM
> documentation, everything works fine for Linux, but OS X has a
> different way of handling dynamic loading, and the files that the
> dynamic loader is trained to look for don't exist. In the past, I've
> worked around this by just linking all my passes into opt, but this
> isn't going to work for me anymore.
> So how do I get dynamically loaded passes to work on the Mac? Chris,
> you probably know the answer to this since you're a Mac user now.
> Robert L. Bocchino Jr.
> Ph.D. Student
> University of Illinois, Urbana-Champaign
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the llvm-dev