Also stop using a null initializer. The runtime initializes this, but
I don't see why we aren't using relocations for this. We should be
able to easily fill in the function address. The private/group size
should also be available by relocations but aren't.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I doubt this will work. First, this may result in missing symbol in lld. Second, the runtime currently expects *.runtime_handle global symbols having a certain size and will initialize them by copying to them. If this compiler change requires a corresponding runtime change, it should be coordinated with runtime.
Comment Actions
I posted the g version of this, still needs the undef initializer. available_externally and constant initializer are the useful parts, and can use undef initializer. the zeroinitializer was pointless since it's overwritten
Comment Actions
Drop initializer change, needs to be undef, zero or the actual content and there's no practical difference