This is necessary to keep the verifier happy after bugpoint removes an
initializer from a global variable with a comdat annotation, because
globals without initializers may not have comdats.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hm, I am not sure; I guess you're saying it's illegal to have a comdat annotation on a function declaration? It may only be present on a definition? But then, if we delete it on the declaration, do we also need to delete it on the corresponding global variable?