[llvm-commits] CVS: llvm/include/llvm/CodeGen/ELFRelocation.h
Chris Lattner
clattner at apple.com
Mon Apr 30 15:22:13 PDT 2007
>
> 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
More information about the llvm-commits
mailing list