[go: up one dir, main page]

File: dwarves_reorganize.h

package info (click to toggle)
dwarves 1.31-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,908 kB
  • sloc: ansic: 154,000; python: 926; sh: 725; makefile: 194
file content (30 lines) | stat: -rw-r--r-- 807 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef _DWARVES_REORGANIZE_H_
#define _DWARVES_REORGANIZE_H_ 1
/*
  SPDX-License-Identifier: GPL-2.0-only

  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>
*/


#include <stdint.h>
#include <stdio.h>

struct class;
struct cu;
struct class_member;

void class__subtract_offsets_from(struct class *cls, struct class_member *from,
				  const uint16_t size);

void class__add_offsets_from(struct class *cls, struct class_member *from,
			     const uint16_t size);

void class__fixup_alignment(struct class *cls, const struct cu *cu);

void class__reorganize(struct class *cls, const struct cu *cu,
		       const int verbose, FILE *fp);

#endif /* _DWARVES_REORGANIZE_H_ */