Skip to content

Commit eeeabc2

Browse files
committed
Make LLVMSymbol a subtype of AbstractString so that we can pass it directly to Libdl.dlsym
1 parent e44c430 commit eeeabc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/orcv2.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ end
8787

8888
include("executionengine/ts_module.jl")
8989

90-
@checked struct LLVMSymbol
90+
@checked struct LLVMSymbol <: AbstractString
9191
ref::API.LLVMOrcSymbolStringPoolEntryRef
9292
end
9393
Base.unsafe_convert(::Type{API.LLVMOrcSymbolStringPoolEntryRef}, sym::LLVMSymbol) = sym.ref

0 commit comments

Comments
 (0)