X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fdebug%2Fdbginfo_t.h;h=39fc67abbe57eb270f6c93369123a28395f45b39;hb=0cc8bfc863da28d3799e9eca1d1765d564b6e573;hp=2f6b0acf7180bd7798815db606aead6c96339b65;hpb=8410ebe71f429a39822b055009b850ad2169c600;p=libfirm diff --git a/ir/debug/dbginfo_t.h b/ir/debug/dbginfo_t.h index 2f6b0acf7..39fc67abb 100644 --- a/ir/debug/dbginfo_t.h +++ b/ir/debug/dbginfo_t.h @@ -1,26 +1,51 @@ /* -** Copyright (C) 2001 by Universitaet Karlsruhe -** All rights reserved. -** -** Authors: Goetz Lindenmaier -** -** dbginfo: This is a empty implementation of the Firm interface to -** debugging support. It only guarantees that the Firm library compiles -** and runs without any real debugging support. -** The functions herein are declared weak so that they can be overriden -** by a real implementation. -*/ + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. + */ -/* $Id$ */ - -#ifndef __DBGINFO_T_H__ -#define __DBGINFO_T_H__ +/** + * @file + * @brief Implements the Firm interface to debug information -- private header. + * @author Goetz Lindenmaier + * @date 2001 + * @version $Id$ + * @summary + * dbginfo: This is a empty implementation of the Firm interface to + * debugging support. It only guarantees that the Firm library compiles + * and runs without any real debugging support. + */ +#ifndef FIRM_DEBUG_DBGINFO_T_H +#define FIRM_DEBUG_DBGINFO_T_H #include "dbginfo.h" -extern void (*__dbg_info_merge_pair)(ir_node *nw, ir_node *old, ident *info); +/** + * The current merge_pair_func(), access only from inside firm. + */ +extern merge_pair_func *__dbg_info_merge_pair; + +/** + * The current merge_sets_func(), access only from inside firm. + */ +extern merge_sets_func *__dbg_info_merge_sets; -extern void (*__dbg_info_merge_sets)(ir_node **new_nodes, ir_node **old_nodes, - ident *info); +/** + * The current snprint_dbg_func(), access only from inside firm. + */ +extern snprint_dbg_func *__dbg_info_snprint; -#endif /* __DBGINFO_T_H__ */ +#endif