> > Header file for ELF relocations. Oooh cool > + #ifndef LLVM_CODEGEN_ELF_RELOCATION_H > + #define LLVM_CODEGEN_ELF_RELOCATION_H
Please #include "llvm/Support/DataTypes.h", since this file uses int64_t etc. > + > + namespace llvm { ... > + ELFRelocation(uint64_t off, uint32_t sym, uint32_t type, > + bool rela = true, int64_t addend = 0) : > + r_offset(off), r_symidx(sym), r_type(type), > + r_add(addend), r_rela(rela) {} > + }; > + > + } // end llvm namespace > + > + #endif // LLVM_CODEGEN_ELF_RELOCATION_H > \ No newline at end of file Please add a newline at eof :) -Chris _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits