Hey folks, I’m trying to build Firefox Desktop with `-finstrument-functions`. End goal is doing some exploratory tracing as part of upcoming browser-architecture efforts.
What’s the appropriate way of doing this? I tried doing the most naive thing of just passing that flag through CFLAGS and CXXFLAGS with the intention of later linking something like liblttng-ust-cyg-profile via LD_PRELOAD that defines `__cyg_profile_func_enter` and `__cyg_profile_func_exit`. However, `mach build` then results in https://gist.github.com/victorporof/ef17b57b19aa9fdb5a9a3a30eecde2ea (of course). Any hints? Victor _______________________________________________ dev-builds mailing list dev-builds@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-builds