Lines Matching defs:expr

193 print_expr (Dwarf_Attribute *attr, Dwarf_Op *expr, Dwarf_Addr addr, int depth)
199 uint8_t atom = expr->atom;
305 printf ("%s(0x%" PRIx64 ")", opname, (Dwarf_Addr) expr->number);
320 printf ("%s(%" PRIu64 ")", opname, expr->number);
333 if (dwarf_getlocation_attr (attr, expr, &call_attr) != 0)
338 if (dwarf_getlocation_die (attr, expr, &call_die) != 0)
362 printf ("%s(%" PRId64 ")", opname, (Dwarf_Sword) expr->number);
373 printf ("%s(%" PRId64 ")", opname, (Dwarf_Sword) expr->number);
379 expr->number, (Dwarf_Sword) expr->number2);
385 expr->number, expr->number2);
393 if (dwarf_getlocation_attr (attr, expr, &const_attr) != 0)
403 if (dwarf_getlocation_implicit_value (attr, expr, &block_impl) != 0)
407 assert (expr->number == block.length);
428 if (dwarf_getlocation_implicit_pointer (attr, expr, &attrval) != 0)
434 if (dwarf_getlocation_attr (attr, expr, &attrval2) != 0)
445 if (dwarf_getlocation_die (attr, expr, &impl_die) != 0)
450 dwarf_dieoffset (&impl_die), expr->number2);
481 if (dwarf_getlocation_attr (attr, expr, &attrval) != 0)
486 if (dwarf_getlocation_die (attr, expr, &impl_die) != 0)
522 if (dwarf_getlocation_attr (attr, expr, &entry_attr) != 0)
546 if (dwarf_getlocation_die (attr, expr, &param) != 0)
551 assert (expr->number == dwarf_cuoffset (&param));
567 Dwarf_Off off = expr->number;
570 if (dwarf_getlocation_die (attr, expr, &type) != 0)
574 assert (expr->number == dwarf_cuoffset (&type));
590 if (dwarf_getlocation_die (attr, expr, &type) != 0)
593 assert (expr->number2 == dwarf_cuoffset (&type));
595 printf ("%s(reg%" PRIu64 ")", opname, expr->number);
606 if (dwarf_getlocation_die (attr, expr, &type) != 0)
609 assert (expr->number2 == dwarf_cuoffset (&type));
611 printf ("%s(%" PRIu64 ")", opname, expr->number);
621 if (dwarf_getlocation_die (attr, expr, &type) != 0)
625 printf ("%s(%" PRIu64 ")", opname, expr->number);
637 if (dwarf_getlocation_die (attr, expr, &type) != 0)
640 assert (expr->number == dwarf_cuoffset (&type));
643 if (dwarf_getlocation_attr (attr, expr, &const_attr) != 0)
666 if (dwarf_getlocation_attr (attr, expr, &addr_attr) != 0)
684 if (dwarf_getlocation_attr (attr, expr, &addr_attr) != 0)
798 Dwarf_Op *expr;
800 if (dwarf_getlocation (&attr, &expr, &exprlen) == 0)
822 expr, exprlen);
837 &expr, &exprlen)) > 0)
844 expr, exprlen);
939 Dwarf_Op *expr;
942 int res = dwarf_getlocation (attr, &expr, &exprlen);
946 print_expr_block (attr, expr, exprlen, entrypc, 0);
962 &expr, &exprlen)) > 0)
967 print_expr_block_addrs (attr, begin, end, expr, exprlen);