* Unable to get location after calling gcc_jit_context_dump_to_file
@ 2020-06-29 1:37 Antoni Boucher
0 siblings, 0 replies; only message in thread
From: Antoni Boucher @ 2020-06-29 1:37 UTC (permalink / raw)
To: jit
Hi.
I'm trying to create a smaller reproducer for the bug 95498:
https://gcc.gnu.org/bugzilla//show_bug.cgi?id=95498
As I explained in the last comment, I added the call to
gcc_jit_context_dump_to_file (ctxt, "/tmp/something.c", 1 /*
update_locations */); right after create_code(ctxt) but the parameter
loc is NULL when I reach add_error in gdb so that I cannot print the
line number.
Is there anything else to change in the reproducer so that it updates
the locations accordingly?
Thanks for your help.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-29 1:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 1:37 Unable to get location after calling gcc_jit_context_dump_to_file Antoni Boucher
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).