[LLVMdev] llvm-poolalloc compilation failed
Ryan M. Lefever
lefever at crhc.uiuc.edu
Tue Jan 23 18:55:56 PST 2007
I tried to compile the currently checked in version of llvm-poolalloc
with the curently checked in version of llvm and got the following errors:
llvm[4]: Compiling Heuristic.cpp for Debug build (PIC)
Heuristic.cpp: In function 'bool Wants8ByteAlignment(const llvm::Type*,
unsigned int, const llvm::TargetData&)':
Heuristic.cpp:77: error: 'const class llvm::TargetData' has no member
named 'getTypeAlignment'
There seem to be 3 methods in TargetData that are close to
getTypeAlignment(): getTypeAlignmentABI (), getTypeAlignmentPref (),
getTypeAlignmentShift (). Does anyone working on llvm-poolalloc know
what method should be used.
Thanks,
Ryan
More information about the llvm-dev
mailing list