2007-05-07 05:30:02 +02:00
|
|
|
#ifndef _DWARVES_REORGANIZE_H_
|
|
|
|
#define _DWARVES_REORGANIZE_H_ 1
|
2009-03-14 17:50:36 +01:00
|
|
|
/*
|
2007-05-07 05:30:02 +02:00
|
|
|
Copyright (C) 2006 Mandriva Conectiva S.A.
|
|
|
|
Copyright (C) 2006 Arnaldo Carvalho de Melo <acme@mandriva.com>
|
|
|
|
Copyright (C) 2007 Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it
|
|
|
|
under the terms of version 2 of the GNU General Public License as
|
|
|
|
published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
struct class;
|
|
|
|
struct cu;
|
|
|
|
struct class_member;
|
|
|
|
|
2009-03-17 18:31:18 +01:00
|
|
|
void class__subtract_offsets_from(struct class *self, struct class_member *from,
|
2009-03-14 17:37:14 +01:00
|
|
|
const uint16_t size);
|
2008-01-12 15:26:06 +01:00
|
|
|
|
2009-03-14 17:37:14 +01:00
|
|
|
void class__add_offsets_from(struct class *self, struct class_member *from,
|
|
|
|
const uint16_t size);
|
2008-01-12 15:26:06 +01:00
|
|
|
|
2009-03-14 17:37:14 +01:00
|
|
|
void class__fixup_alignment(struct class *self, const struct cu *cu);
|
2008-01-12 15:26:06 +01:00
|
|
|
|
2009-03-14 17:37:14 +01:00
|
|
|
void class__reorganize(struct class *self, const struct cu *cu,
|
|
|
|
const int verbose, FILE *fp);
|
2007-05-07 05:30:02 +02:00
|
|
|
|
|
|
|
#endif /* _DWARVES_REORGANIZE_H_ */
|