equal
deleted
inserted
replaced
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 #include "asm/assembler.hpp" |
25 #include "asm/assembler.hpp" |
|
26 #include "memory/allocation.hpp" |
26 #include "loadlib_aix.hpp" |
27 #include "loadlib_aix.hpp" |
27 #include "porting_aix.hpp" |
28 #include "porting_aix.hpp" |
28 #include "utilities/debug.hpp" |
29 #include "utilities/debug.hpp" |
29 |
30 |
30 #include <demangle.h> |
31 #include <demangle.h> |
65 // of the mapped executable image ready to use. On AIX, this doesn't |
66 // of the mapped executable image ready to use. On AIX, this doesn't |
66 // work, so I have to keep the returned strings. For now, I do this in |
67 // work, so I have to keep the returned strings. For now, I do this in |
67 // a primitive string map. Should this turn out to be a performance |
68 // a primitive string map. Should this turn out to be a performance |
68 // problem, a better hashmap has to be used. |
69 // problem, a better hashmap has to be used. |
69 class fixed_strings { |
70 class fixed_strings { |
70 struct node { |
71 struct node : public CHeapObj<mtInternal> { |
71 char* v; |
72 char* v; |
72 node* next; |
73 node* next; |
73 }; |
74 }; |
74 |
75 |
75 node* first; |
76 node* first; |