[llvm-commits] What requires __debug_frame?

Rafael Avila de Espindola rafael.espindola at gmail.com
Tue May 3 08:26:56 PDT 2011


I was wondering what software requires __debug_frame. I decided to try 
changing the default and see what would break. Surprisingly, it was just 
a a single test that I needed to update to expect cfi directives.

I used a clang modified with the attached patch to build a debug version 
of clang itself and gdb is happy with it. I can set breakpoints, get 
backtraces, etc.

So, is __debug_frame just an historical thing right now?

Thanks,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug_frame.patch
Type: text/x-patch
Size: 1427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110503/dd8cf7eb/attachment.bin>


More information about the llvm-commits mailing list