[cfe-dev] DWARF2_FRAME_REG_OUT

Anton Korobeynikov anton at korobeynikov.info
Tue Feb 8 12:27:21 PST 2011


Hi Jack,

> is still present in config/i386/darwin.h for llvm-gcc42, but I can't find an analogous code in clang.
> Does clang handle this issue differently than llvm-gcc42?
No, clang handle this issue exactly the same way as llvm-gcc. The
answer is simple: this part of code is for gcc backend, which is not
used by llvm code at all.
LLVM backend can have the arbitrary list of register numbers. Right
now they are (on x86): "for 64 bit", "for 32 bit debug", "for 32 bit
eh".

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the cfe-dev mailing list