[LLVMdev] [PATCH] Get dlerror() messages

Chris Lattner sabre at nondot.org
Tue Mar 11 17:50:40 PDT 2008


On Mar 11, 2008, at 5:09 PM, Julien Lerouge wrote:

> Attached is a simple fix for getting error messages from dlerror in
> LoadLibraryPermanently. The current code modifies the value of a  
> pointer
> that is passed by value, so the caller never gets the message.

Your fix looks great, this fixes a memory leak too.  Thanks Julien!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080310/059605.html

-Chris




More information about the llvm-dev mailing list