https://github.com/JuliaLang/julia
Raw File
Tip revision: 5a28707fa52db1a8f3075543ef3af651ccfb62e4 authored by Jiahao Chen on 21 October 2014, 16:09:28 UTC
Add simple Doxygen filter for Julia
Tip revision: 5a28707
backtrace.jl
bt = backtrace()
have_backtrace = false
for l in bt
    lkup = ccall(:jl_lookup_code_address, Any, (Ptr{Void},), l)
    if lkup[1] == :backtrace
        @test lkup[4] == false # fromC
        have_backtrace = true
        break
    end
end

@test have_backtrace
back to top