Automatically add HasCallStack restrictions for all my functions

I am looking for a compiler flag or something similar that will automatically add context HasCallStackto all my functions.

I was asked to enable profiling to get a similar effect, but I don’t want to recompile my dependencies, and I would be fine if only annotations are received in my application.

If there is no such flag, why?

+4
source share

Source: https://habr.com/ru/post/1681184/


All Articles