[llvm-commits] What requires __debug_frame?

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


On 11-05-03 12:12 PM, Devang Patel wrote:
>
> On May 3, 2011, at 8:26 AM, Rafael Avila de Espindola wrote:
>
>> 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.
>
> It is used by unwinder, so you want to test eh unwinding also.

The unwinder uses __eh_frame, no?

> - Devang

Cheers,
Rafael




More information about the llvm-commits mailing list