You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The native runtime by default builds with function inlining enabled,
making heavy use of the feature in order to generate faster code.
However, when debugging a native crash inlining causes stack traces to
point to unlikely locations, reporting the outer function as the crash
location instead of the inlined function where crash actually happened.
In order to make such debugging easier, the `XA_NO_INLINE` environment
property may be exported before building the repository. This will
force all normally inlined functions to be strictly preserved and kept
separate. The generated code will be slower, but crash stack traces
should be much more precise.
Also add support for the `XA_NO_STRIP` variable which makes it easy
to produce runtime shared libraries with full debug symbols.
In normal builds, all the debugging information is stripped from the
runtime shared libraries, thus making stack traces rarely point to
anything more than the surrounding function name (which may sometimes be
misleading, too). The `XA_NO_STRIP` environment variable can be
exported before building the native runtime in order to leave the
symbols in the resulting shared library.
0 commit comments