https://github.com/JuliaLang/julia
Raw File
Tip revision: f899a219c8081e5435229b5d10f5f42f1560fd1f authored by Chris Foster on 28 November 2019, 02:39:19 UTC
Allow TestLogger min_level to be a user-defined level
Tip revision: f899a21
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