Add relocation tagging to generator internals