1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-02 17:41:48 +02:00

Add environment variable NIX_SHOW_SYMBOLS for dumping the symbol table

This commit is contained in:
Eelco Dolstra 2019-04-11 23:04:13 +02:00
parent 41ba5135e0
commit bb6e6923f2
2 changed files with 13 additions and 0 deletions

View file

@ -75,6 +75,13 @@ public:
}
size_t totalSize() const;
template<typename T>
void dump(T callback)
{
for (auto & s : symbols)
callback(s);
}
};
}