[LLVMdev] Discrepancies in LLVM sources

Yuri yuri at rawbw.com
Sat Sep 17 21:14:30 PDT 2011


Looks like constants in include/llvm-c/Core.h aren't in sync with enums.
For example, LLVMAdd is 8 in Core.h and  llvm::Instruction::LLVMAdd 
evaluates to 9 in C++.
Same for Cast Operators section and possibly in other places.

Also, llvm/Support/TargetRegistry.h and llvm/Target/TargetRegistry.h 
define two different version of some classes, particularly llvm::Target. 
Fields with the same names have different offsets.
Are they intended to be different, and if yes, why?

All based on rev.139973.

Also I got dropped from the mailing list on 9/15 -- no messages after 
9/15 10:20 AM. Was there the known malfunction of the mailing list?

Yuri



More information about the llvm-dev mailing list