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 to_string set of functions are quite large and since they are always inline, using them on multiple functions on multiple files explodes the binary size. It also makes it hard to debug if you use a de compiler as part of your debugging tools. I suggest changing the attributes to be a non inlined weakly declared/defined symbol instead. That way, during the linking step, only one of the symbols will be arbitrarily used and the rest of the duplicates will be discarded.
The text was updated successfully, but these errors were encountered:
@Emimendoza That's an interesting aspect to keep in mind. We did some testing on that issue and it seems, those functions tend to not be inlined, but kept as separate functions. Probably due to their size.
Do you have some setup or program that produces multiple inlined instances of (some of) those functions?
The to_string set of functions are quite large and since they are always inline, using them on multiple functions on multiple files explodes the binary size. It also makes it hard to debug if you use a de compiler as part of your debugging tools. I suggest changing the attributes to be a non inlined weakly declared/defined symbol instead. That way, during the linking step, only one of the symbols will be arbitrarily used and the rest of the duplicates will be discarded.
The text was updated successfully, but these errors were encountered: