Currently, TypeART uses __builtin_return_address(0) to find the address location of where the allocation occurred
Alternatively, (i) during compilation each allocation is tagged with a unique ID, (ii) the id's are passed as arguments to the callbacks, and (iii) the ID and other useful (debug) information are serialised for look-ups in the runtime
The serialisation should happen as json/yaml, see preliminary implementation in feat/sc20