[LLVMdev] Why gdb on MacOS doesn't show function names in stack when llvm::JITEmitDebugInfo is set?

Reid Kleckner reid.kleckner at gmail.com
Tue Jan 4 21:58:41 PST 2011


Because OS X is not an ELF target, and support was only implemented in LLVM
for making ELFs with debug info.

I think the docs I wrote on this may suggest that the FSF gdb 7.0+ will
work, but that's not the case.

Sent from phne
Reid

On Jan 4, 2011 10:50 PM, "Yuri" <yuri at rawbw.com> wrote:

With the same source code, gdb on Linux shows function names and on
MacOS it doesn't.

Why would MacOS be different in respect of this issue?

Yuri
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110104/040941b4/attachment.html>


More information about the llvm-dev mailing list