https://github.com/JuliaLang/julia
Raw File
Tip revision: 2e831f24404361f7d2fb7b17c40e2b1354d2fd9e authored by Valentin Churavy on 12 September 2019, 21:23:14 UTC
teach asan about exception handling
Tip revision: 2e831f2
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