public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
* Debug info on macOS
@ 2024-05-10 13:46 Gerd Möllmann
  2024-05-10 20:17 ` David Malcolm
  0 siblings, 1 reply; 5+ messages in thread
From: Gerd Möllmann @ 2024-05-10 13:46 UTC (permalink / raw)
  To: jit

Hi,

I'm developing Emacs using its native compilation on macOS, which is
based on libgccjit.

In this context, I'm currently failing to get .eln files (= .so, .dylib,
.dll depending on the platform) with debug info. This has probably its
roots in the special handling of DWARF under macOS, a long-winded story
leading to dSYM bundles...

My question is: can I somehow configure libgccjit in a way that keeps
the .o file that was used to produce the resulting .dylib, like it
keeps/writes the various intermediate files that one can get?

If that's possible, my hope would be to extract the debug info from the
.o using dsymutil and use that with the .dylib.

TIA!


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

end of thread, other threads:[~2024-05-31  4:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-10 13:46 Debug info on macOS Gerd Möllmann
2024-05-10 20:17 ` David Malcolm
2024-05-10 22:11   ` Andrea Corallo
2024-05-11  3:39   ` Gerd Möllmann
2024-05-31  4:09     ` Gerd Möllmann

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).