[LLVMdev] Discrepancies in LLVM sources
eli.friedman at gmail.com
Sat Sep 17 21:53:59 PDT 2011
On Sat, Sep 17, 2011 at 9:14 PM, Yuri <yuri at rawbw.com> wrote:
> 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.
Yes; we don't make any sort of guarantee about that, and such a
guarantee is not necessary for correctness.
> 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?
llvm/Target/TargetRegistry.h does not exist on trunk.
> 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?
Strange; list appears to be working fine to me.
More information about the llvm-dev