Lines Matching full:value
103 /* Describes a value, obtained from the mapped .debug_info section
107 /* Unites all possible data types for the value.
125 /* Value type (defines which variable in the union abowe
126 * contains the value).
130 /* Number of bytes that encode this value in .debug_info section
171 /* Pulls actual value, encoded with this LEB128 block.
173 * value - Upon return will contain value, encoded with this LEB128 block.
175 * integer, otherwise, caller expects an unsigned integer value to be
178 void get_common(Dwarf_Value* value, bool sign) const {
179 value->u64 = 0;
182 value->type = sign ? DWARF_VALUE_S32 : DWARF_VALUE_U32;
183 value->encoded_size = 1;
188 value->type = DWARF_VALUE_UNKNOWN;
189 value->encoded_size = 0;
201 value->u64 |= (static_cast<Elf_Xword>(*cur) & 0x7F) << shift;
203 value->encoded_size++;
206 value->u64 |= (static_cast<Elf_Xword>(*cur) & 0x7F) << shift;
207 value->encoded_size++;
213 if ((value->u64 & 0xFFFFFFFF00000000LL) == 0) {
216 value->type = DWARF_VALUE_S32;
218 // Value is negative.
219 value->u64 |= - (1 << (shift + 7));
220 } else if ((value->u32 & 0x80000000) != 0) {
221 // Make sure we don't report negative value in this case.
222 value->type = DWARF_VALUE_S64;
225 value->type = DWARF_VALUE_U32;
230 value->type = DWARF_VALUE_S64;
232 // Value is negative.
233 value->u64 |= - (1 << (shift + 7));
236 value->type = DWARF_VALUE_U64;
241 /* Pulls actual unsigned value, encoded with this LEB128 block.
244 * value - Upon return will contain unsigned value, encoded with
247 void get_unsigned(Dwarf_Value* value) const {
248 get_common(value, false);
251 /* Pulls actual signed value, encoded with this LEB128 block.
254 * value - Upon return will contain signed value, encoded with
257 void get_signed(Dwarf_Value* value) const {
258 get_common(value, true);
261 /* Pulls LEB128 value, advancing past this LEB128 block.
266 const void* process(Dwarf_Value* value, bool sign) const {
267 get_common(value, sign);
268 return INC_CPTR(&val, value->encoded_size);
271 /* Pulls LEB128 unsigned value, advancing past this LEB128 block.
274 const void* process_unsigned(Dwarf_Value* value) const {
275 return process(value, false);
278 /* Pulls LEB128 signed value, advancing past this LEB128 block.
281 const void* process_signed(Dwarf_Value* value) const {
282 return process(value, true);
289 * format (one of DW_FORMAT_XXX values), in which attribute value is
308 * at_value - Upon return contains attribute value of this descriptor.
309 * form - Upon return contains form value of this descriptor.
338 * LEB128 value, that encodes 1 - based abbreviation descriptor number.
344 * values. The first one (after abbr_num) is a LEB128 value containing DIE's
345 * tag value, and the second one is one byte flag specifying whether or not
373 * in this value.
375 * parameter can be NULL, if the caller is not interested in this value.
403 * DIE descriptor contains one LEB128-encoded value, containing DIE's
419 * NOTE: Zero is invalid value for this field, indicating that this DIE is a
439 * parameter can be NULL, if the caller is not interested in this value.
462 * When encoding size value in DWARF, the first 32 bits of a "size" header
464 * value, this is 64-bit size header with the following 64 bits encoding
466 * 32-bit size value.
471 /* Size value. */
480 /* Actual size value. */
537 * operands by this value. */
540 /* The initial value of the is_stmt register. */
554 * corresponds to the opcode whose value is 1, and the last element
555 * corresponds to the opcode whose value is opcode_base - 1. By increasing
591 * in this value.
654 /* Gets value of this property. */
655 const Dwarf_Value* value() const {
659 /* Value of this property. */
900 * set_is_stmt - Matches value of default_is_stmt field in the STMTL header.
924 * set_is_stmt - Matches value of default_is_stmt field in the STMTL header.
946 /* Current address (current PC value). */
958 /* Current discriminator value. */
976 /* Current ISA value. */
979 /* Current value for explicitly set current source file descriptor.