[llvm-bugs] [Bug 41937] New: Duplicate JITDylib in the Search Order

via llvm-bugs llvm-bugs at lists.llvm.org
Sun May 19 11:31:31 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41937

            Bug ID: 41937
           Summary: Duplicate JITDylib in the Search Order
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OrcJIT
          Assignee: unassignedbugs at nondot.org
          Reporter: praveenvelliengiri at gmail.com
                CC: 1101.debian at gmail.com, llvm-bugs at lists.llvm.org

Currently, ORC allows to have a same name for multiple JITDylibs. Well, this
can be confusing for clients creating JITDylibs and populating code in it. For
a single ExecutionSession instance we should have JITDylib names. Possible
solution is have a check in ExecutionSession::createJITDylib method, and return
a Expected<JITDylib&>. 

Is multiple JITDylibs with same names serve a purpose? Is it a bug or feature? 

Thanks

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190519/6181b368/attachment.html>


More information about the llvm-bugs mailing list