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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs