I am using Julia 0.3.10 and would like to get the LLVM IR + all dependencies for a Julia function. I am using ccall with jl_dump_function and the resulting LLVM IR contains dependencies. For example, the returned LLVM IR for the following function contains a reference to @jl_pgstack.
function f(s::String) return s[0] end
