Changeset 141
- Timestamp:
- 04/04/05 20:01:09 (4 years ago)
- Files:
-
- libcrash/trunk/crash/FixedPoint.h (added)
- libcrash/trunk/crash/Makefile.am (modified) (1 diff)
- libcrash/trunk/crash/TypeResolver.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libcrash/trunk/crash/Makefile.am
r139 r141 12 12 libcrash_la_SOURCES= \ 13 13 Allocator.h \ 14 FixedPoint.h \ 14 15 Singleton.h \ 15 16 Tree.h \ libcrash/trunk/crash/TypeResolver.cc
r135 r141 1 1 #include <crash/TypeResolver.h> 2 #ifdef __GNUC__ 3 #include <cxxabi.h> 4 #else 2 5 #include <string> 3 6 #include <vector> … … 5 8 #include <set> 6 9 #include <time.h> 10 #endif 7 11 8 12 using namespace std; … … 27 31 28 32 string type2string(const std::type_info &type) { 33 #ifdef __GNUC__ 34 int status; 35 36 return abi::__cxa_demangle(type.name(), 0, 0, &status); 37 #else 29 38 RESOLVE(string); 30 39 RESOLVE(char); … … 44 53 RESOLVE(time_t); 45 54 return type.name(); 55 #endif 46 56 } 47 57
