Displaying 1 result from an estimated 1 matches for "f_natural_int".
2018 Mar 17
1
Migration from 3.8 to 6.0 questions (segfault most concerning)
I'm encountering a few problems in my migration that I haven't yet
figured out.
`getOrInsertFunction` is generating a SEGFAULT at
FunctionType::isValidArgumentType(llvm::Type*). I'm calling it as:
generic_ptr_ = llvm::PointerType::get(
llvm::Type::getInt8Ty(context), 0 );
f_natural_int = llvm::IntegerType::get(context, 64);
module->getOrInsertFunction(
"count_malloc", generic_ptr, f_natural_int, (llvm::Type*)0 );
It appears there is no more Reloc::Default or CodeModel::Default, but
the docs on those fields indicate there is still a target default. How
d...