* Add a symbol to the cache. */
| 188 | * Add a symbol to the cache. |
| 189 | */ |
| 190 | static bool insertSymbol(Symbols &symbols, const char *name, TypeSig sig, |
| 191 | intptr_t addr) |
| 192 | { |
| 193 | Symbol key(strDup(name), sig); |
| 194 | return symbols.insert({key, addr}).second; |
| 195 | } |
| 196 | |
| 197 | /* |
| 198 | * Parse a symbol from a C++ mangled name. |
no test coverage detected