[llvm-commits] [llvm] r61484 - in /llvm/trunk: include/llvm/Target/TargetAsmInfo.h lib/CodeGen/AsmPrinter/DwarfWriter.cpp lib/Target/TargetAsmInfo.cpp lib/Target/X86/X86TargetAsmInfo.cpp

Anton Korobeynikov anton at korobeynikov.info
Tue Dec 30 00:17:24 PST 2008


Hello, Everyone

> should refer to this flag to determine how to write values.  Even
> better would be to specify the encoding, and have some wonder
> mechanism for outputting values according to the encoding, rather
> than using EmitReference and friends.
Actually, there are already accurate hooks to calculate encodings of  
the different objects! I originally introduced them in order to bring  
EH on mingw, which requires completely diffferent encoding scheme.  
Unfortunately, the work on this was stuck, because I realized, that I  
need to do some deep refactoring of section emission logic, otherwise  
it'd turn into horrible mess :( But hooks are already in place (look  
into TargetAsmInfo::PreferredEHDataFormat()) ! :)

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




More information about the llvm-commits mailing list