Since 6bf108d77a3c, we try to not mark extern_weak symbols as dso_local, to allow using COFF stubs for references to those symbols (as the symbol may be missing, resolving to an absolute address zero, outside of the current DSO).
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
lgtm
TLS thread wrappers seem to reimplement a lot of the logic that would happen naturally for a regular function declaration. I wonder if there is some way to restructure the code to have less duplication.