[llvm-commits] .cfi_* and ARM

Rafael Avila de Espindola rafael.espindola at gmail.com
Mon May 9 13:30:33 PDT 2011


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 should have a patch for 1 in a moment. Thoughts?

Cheers,
Rafael



More information about the llvm-commits mailing list