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: unassignedb...@nondot.org
          Reporter: praveenvellieng...@gmail.com
                CC: 1101.deb...@gmail.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to