search for: getscalarty

Displaying 2 results from an estimated 2 matches for "getscalarty".

Did you mean: getscalartype
2019 Jan 28
2
Create a BlockAddress array from LLVM Pass
..., /*Initializer=*/0, // has initializer, specified below /*Name=*/"labelTracker"); gvar_ptr_abc->setAlignment(16); Constant *blockItems = ConstantDataArray::get(fn->getContext(), tmp); gvar_ptr_abc->setInitializer(blockItems); I get error with following: Unsupported type in Type::getScalarTy Can anyone suggest what I suppose to do? It is definitely related to my type declaration and BlockAddress items, but I don't know what it is exactly. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2019012...
2019 Jan 29
2
[cfe-dev] Create a BlockAddress array from LLVM Pass
...below > > /*Name=*/"labelTracker"); > > gvar_ptr_abc->setAlignment(16); > > Constant *blockItems = ConstantDataArray::get(fn->getContext(), tmp); > > gvar_ptr_abc->setInitializer(blockItems); > > I get error with following: Unsupported type in Type::getScalarTy > > > > Can anyone suggest what I suppose to do? It is definitely related to my type declaration and BlockAddress items, but I don't know what it is exactly. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/...