[llvm-commits] CVS: llvm/lib/Target/X86/X86RegisterInfo.cpp X86RegisterInfo.td

Anton Korobeynikov asl at math.spbu.ru
Wed May 2 11:11:23 PDT 2007


Evan,

> Anton, I believe different OS / target / DWARF imeplementations  
> assign different DWARF numbers to register. On Mac OS X, I am fairly  
> certain x86 and x86-64 assign different numbers. :-(  We need a  
> better way to handle this.
I've specially checked this case. DWARF register numbers are fixed for
all i386-based platforms (at least ones, supported by GCC). The only
special case seems to be cygwin/mingw, but I'll handle this case
separately.

Currently, I'm interested only in narrowing necessary bits (probably,
platform-dependent). Anyway, this won't hurt :)
-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.





More information about the llvm-commits mailing list