Displaying 2 results from an estimated 2 matches for "op_code2".
Did you mean:
op_code
2017 Jun 09
2
Get segfault with ModulePass
..._arg_iterator ai = f->arg_begin();
std::advance(ai, i);
for (const auto& use : ai->uses()) {
errs() << "next one\n";
if (const Instruction* user = dyn_cast<Instruction>(use.getUser())) {
errs() << "op_code2: " << user->getOpcodeName() << '\n';
//if (std::strcmp("<Invalid operator> ", user->getOpcodeName()) == 0) {
// continue;
//}
loc = user->getDebugLoc();
if (loc != nullptr) {...
2017 Jun 11
2
Get segfault with ModulePass
...if (const Instruction* user = dyn_cast<Instruction>(use.getUser())) {
> > errs() << "op_code2: " << user->getOpcodeName() << '\n';
> > //if (std::strcmp("<Invalid operator> ", user->getOpcodeName()) == 0) {
> >...