[llvm-commits] .cfi_* directives
rafael.espindola at gmail.com
Thu Oct 28 09:50:31 PDT 2010
I was doing a quick check on what would be needed to make llvm-mc
handle the assembly outputted by gcc. One big item that showed up was
the the .cfi_* directives.
These directives are used to shift part of the responsibility of
producing the .eh_frame section from the compiler to the assembler.
They do produce much smaller assembly files, but that is probably not
an issue for us. If implementing them, each directive would become a
method in the streamer interface. This might make it a bit easier for
other users to produce frame information.
For now I will just push the testing using -fno-dwarf2-cfi-asm, but do
you think it would be a good idea to eventually implement the .cfi_*
directives or is this better done in the compiler anyway?
More information about the llvm-commits