search for: const_array_5_elem

Displaying 1 result from an estimated 1 matches for "const_array_5_elem".

Did you mean: const_array_5_elems
2012 Jun 17
3
[LLVMdev] BlockAddress instruction is copied instead of cloned during module link?
...ar_array_switch_bbs = new GlobalVariable(/*Module=*/*mod, /*Type=*/ArrayTy_0, /*isConstant=*/false, /*Linkage=*/GlobalValue::InternalLinkage, /*Initializer=*/0, // has initializer, specified below /*Name=*/"switch.bbs"); // Constant Definitions std::vector<Constant*> const_array_5_elems; Constant* const_ptr_6 = BlockAddress::get(label_switch_body_begin); const_array_5_elems.push_back(const_ptr_6); Constant* const_ptr_7 = BlI have a module having the blockaddress instruction. When I link it into another module and delete the original, blockaddress disappears and is replace...