search for: indirbr

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

Did you mean: indicar
2018 Aug 30
4
crash problem when using IndirectBrInst to replace BranchInst
...eDestAddr = BlockAddress::get(TrueDest); BlockAddress * FalseDestAddr = BlockAddress::get(FalseDest); Value * ConditionValue = BI->getCondition(); SelectInst * SI = SelectInst::Create(ConditionValue, TrueDestAddr, FalseDestAddr, "", BI); IndirectBrInst *indirBr = IndirectBrInst::Create(SI, 2, BI); indirBr->addDestination(TrueDest); indirBr->addDestination(FalseDest); BI->eraseFromParent(); But I met the following crash when using this pass to build the arm target. The crash log is: Process: clang [894] Path...
2018 Aug 31
2
crash problem when using IndirectBrInst to replace BranchInst
...kAddress * FalseDestAddr = BlockAddress::get(FalseDest); > > > Value * ConditionValue = BI->getCondition(); > > > > SelectInst * SI = SelectInst::Create(ConditionValue, TrueDestAddr, > FalseDestAddr, "", BI); > > > > IndirectBrInst *indirBr = IndirectBrInst::Create(SI, 2, BI); > > indirBr->addDestination(TrueDest); > > indirBr->addDestination(FalseDest); > > BI->eraseFromParent(); > > > But I met the following crash when using this pass to build the arm > target. The crash log i...