[llvm-commits] .cfi_* and ARM
Devang Patel
dpatel at apple.com
Mon May 9 14:00:58 PDT 2011
On May 9, 2011, at 1:30 PM, Rafael Avila de Espindola wrote:
> Devang noticed we were not producing .cfi_* directives for ARM. This is OK for non-debug builds as darwin ARM use SjLj exceptions.
>
> The question is what should be done for debug. The pre-cfi setup clang would produce a __debug_frame section. I think what we should do is
>
> 1) produce .cfi_* directives if -g is given. This will created a __eh_frame section for now.
> 2) If __debug_frame is more efficient/needed on ARM we can implement the .cfi_sections directive so that cfi can be used to produce __eh_frame and/or __debug_frame.
I like 2). Efficient __debug_frame based on .cfi_* will be useful to debugger.
-
Devang
>
> I should have a patch for 1 in a moment. Thoughts?
>
> Cheers,
> Rafael
More information about the llvm-commits
mailing list