https://github.com/JuliaLang/julia
Raw File
Tip revision: 1c8ddb3248af1a21018abd316a98efdcf24e914e authored by Jacob Quinn on 16 July 2019, 21:33:13 UTC
Start work on builtin jl_buffer_t/Core.Buffer type
Tip revision: 1c8ddb3
debuginfo.h
// This file is a part of Julia. License is MIT: https://julialang.org/license

// Declarations for debuginfo.cpp

extern int jl_DI_for_fptr(uint64_t fptr, uint64_t *symsize, int64_t *slide, int64_t *section_slide,
                      const object::ObjectFile **object,
                      llvm::DIContext **context);

extern bool jl_dylib_DI_for_fptr(size_t pointer, const object::ObjectFile **object, llvm::DIContext **context,
        int64_t *slide, int64_t *section_slide,
        bool onlySysImg, bool *isSysImg, void **saddr, char **name, char **filename);

#if JL_LLVM_VERSION >= 90000
static object::SectionedAddress makeAddress(uint64_t address)
{
    return object::SectionedAddress(address, object::SectionedAddress::UndefSection);
}
#else
static uint64_t makeAddress(uint64_t address)
{
    return address;
}
#endif
back to top