00001 /* 00002 * See the dyninst/COPYRIGHT file for copyright information. 00003 * 00004 * We provide the Paradyn Tools (below described as "Paradyn") 00005 * on an AS IS basis, and do not warrant its validity or performance. 00006 * We reserve the right to update, modify, or discontinue this 00007 * software at any time. We shall have no obligation to supply such 00008 * updates or modifications or any other form of support to you. 00009 * 00010 * By your use of Paradyn, you understand and agree that we (or any 00011 * other person or entity with proprietary rights in Paradyn) are 00012 * under no obligation to provide either maintenance services, 00013 * update services, notices of latent defects, or correction of 00014 * defects for Paradyn. 00015 * 00016 * This library is free software; you can redistribute it and/or 00017 * modify it under the terms of the GNU Lesser General Public 00018 * License as published by the Free Software Foundation; either 00019 * version 2.1 of the License, or (at your option) any later version. 00020 * 00021 * This library is distributed in the hope that it will be useful, 00022 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00024 * Lesser General Public License for more details. 00025 * 00026 * You should have received a copy of the GNU Lesser General Public 00027 * License along with this library; if not, write to the Free Software 00028 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00029 */ 00030 00031 // $Id: Object.C,v 1.31 2008/11/03 15:19:25 jaw Exp $ 00032 00033 #include "annotations.h" 00034 #include "Annotatable.h" 00035 #include "common/h/serialize.h" 00036 00037 AnnotationClass<localVarCollection> FunctionLocalVariablesAnno(std::string("FunctionLocalVariablesAnno")); 00038 AnnotationClass<localVarCollection> FunctionParametersAnno(std::string("FunctionParametersAnno")); 00039 AnnotationClass<std::vector<std::string> > SymbolVersionNamesAnno("SymbolVersionNamesAnno"); 00040 AnnotationClass<std::string> SymbolFileNameAnno("SymbolFileNameAnno"); 00041 AnnotationClass<std::vector<Function *> > UserFuncsAnno(std::string("UserFuncsAnno")); 00042 AnnotationClass<std::vector<Region *> > UserRegionsAnno(std::string("UserRegionsAnno")); 00043 AnnotationClass<std::vector<Type *> > UserTypesAnno(std::string("UserTypesAnno")); 00044 AnnotationClass<std::vector<Symbol *> > UserSymbolsAnno(std::string("UserSymbolsAnno")); 00045 AnnotationClass<LineInformation> ModuleLineInfoAnno(std::string("ModuleLineInfoAnno")); 00046 AnnotationClass<typeCollection> ModuleTypeInfoAnno(std::string("ModuleTypeInfoAnno")); 00047 AnnotationClass<dyn_hash_map<Address, Symbol *> > IdToSymAnno("IdToSymMap");
1.6.1