Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function attributes for jl.get_pgcstack #41538

Open
vchuravy opened this issue Jul 10, 2021 · 0 comments
Open

Function attributes for jl.get_pgcstack #41538

vchuravy opened this issue Jul 10, 2021 · 0 comments
Assignees
Labels
codegen Generation of LLVM IR and native code

Comments

@vchuravy
Copy link
Sponsor Member

julia/src/codegen.cpp

Lines 431 to 435 in 56bb340

static const auto jlpgcstack_func = new JuliaFunction{
"julia.get_pgcstack",
[](LLVMContext &C) { return FunctionType::get(PointerType::get(T_ppjlvalue, 0), false); },
nullptr,
};

Should probably have "some" function attributes. On slack @wsmoses and @Keno raised the possibility for readonly and inaccessiblememonly.

@vchuravy vchuravy added the codegen Generation of LLVM IR and native code label Jul 10, 2021
@JeffBezanson JeffBezanson changed the title Function attributed for jl.get_pgcstack Function attributes for jl.get_pgcstack Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codegen Generation of LLVM IR and native code
Projects
None yet
Development

No branches or pull requests

3 participants