Displaying 1 result from an estimated 1 matches for "strcst".
Did you mean:
strcat
2016 Apr 17
2
Problems with GEP and CallInst
...will be passed to the Callee):
llvm::Value *ast::StringLiteral::build(llvmir_builder *builder) {
TypeRef *strtype = evalType();
TypeRef *chrtype = strtype->getType()->getPointedType();
llvm::ArrayType *arty = llvm::ArrayType::get(chrtype->getIRType(), val.length()+1);
if (!strcst) {
strcst = new llvm::GlobalVariable(*container,
arty,
true,
llvm::GlobalValue::PrivateLinkage,
llvm::ConstantDataArray::ge...