public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
* JIT function compile to file
@ 2023-08-03 15:07 Li, Yicheng
  2023-08-03 15:47 ` David Malcolm
  0 siblings, 1 reply; 2+ messages in thread
From: Li, Yicheng @ 2023-08-03 15:07 UTC (permalink / raw)
  To: jit

Hi,

I’m looking for examples that can let me build a jit function on one run, save it to a file, and grab from file again on the second run without rebuilding and recompilation.
I’ve seen the function, gcc_jit_context_compile_to_file, and I’m wondering how to use it.
Throughout the documentation, I see the gcc_jit_location type variable, I’m unsure how to use it, and if it is related to calling a saved-to-file jit function.
It would be great if there’s any example that can be provided.

Thank you
Yicheng Li

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-03 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-03 15:07 JIT function compile to file Li, Yicheng
2023-08-03 15:47 ` David Malcolm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).