Re: Help needed: building with -finstrument-functions

2018-11-10 Thread Victor Porof
I’ve linked a prebuilt object that defines `__cyg_profile_func_enter` and `__cyg_profile_func_exit` using LDFLAGS, and that got rid of the initial linker errors. Huzzah! However, now I’m facing other more concerning linker errors: https://gist.github.com/victorporof/55490f49c7b13b4bcfae10ca4f0c

Help needed: building with -finstrument-functions

2018-11-10 Thread Victor Porof
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 C