This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src loc2c.c
- From: roland at sourceware dot org
- To: systemtap-cvs at sources dot redhat dot com
- Date: 14 Oct 2005 11:30:45 -0000
- Subject: src loc2c.c
CVSROOT: /cvs/systemtap
Module name: src
Changes by: roland@sourceware.org 2005-10-14 11:30:45
Modified files:
. : loc2c.c
Log message:
2005-10-14 Roland McGrath <roland@redhat.com>
PR 1271.
* loc2c.c (translate): Set LOC->byte_size in loc_noncontiguous result.
(struct location.address): New member `declare'.
(new_synthetic_loc, translate): Initialize it.
(struct location.type): Add loc_fragment, loc_decl to enum.
(c_emit_location): Emit unadorned code for loc_fragment.
(discontiguify): New function.
(c_translate_fetch, c_translate_store): Call it.
(get_bitfield): New function, broken out of ....
(emit_bitfield): ... here. Function removed.
(declare_noncontig_union): New function.
(max_fetch_size): New function.
(translate_base_fetch): New function, broken out of ...
(c_translate_fetch): ... here. Call it.
Use get_bitfield here, not emit_bitfield.
(c_translate_store): Likewise.
(c_emit_location): Emit declarations first.
* loc2c.c (dwarf_diename_integrate): Function removed.
Change all callers to use dwarf_diename.
2005-10-13 Roland McGrath <roland@redhat.com>
* loc2c.c (c_emit_location): Use final location's used_deref flag too.
* loc2c.c (translate): Pass LOC to alloc_location, not INPUT.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/loc2c.c.diff?cvsroot=systemtap&r1=1.11&r2=1.12