[LLVMbugs] [Bug 3069] New: The return value of llvm::sys::DynamicLibrary:: LoadLibraryPermanently is counter-intuitive

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Nov 14 10:31:23 PST 2008


http://llvm.org/bugs/show_bug.cgi?id=3069

           Summary: The return value of
                    llvm::sys::DynamicLibrary::LoadLibraryPermanently is
                    counter-intuitive
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: System Library
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: mdevan.foobar at gmail.com
                CC: llvmbugs at cs.uiuc.edu


The (boolean) return value of llvm::sys::DynamicLibrary::LoadLibraryPermanently
is counter-intuitive. From the documentation:

"This returns false on success or returns true and fills in *ErrMsg on
failure."

Although it behaves as documented and is used in 2 places accordingly, it's a
bit.. ah.. unexpected!


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list