We would previously assert here when trying to figure out the section
for the global.
This makes us handle the situation more gracefully since the IR isn't
malformed.
Paths
| Differential D4022
Don't emit structors for available_externally globals (PR19933) ClosedPublic Authored by hans on Jun 4 2014, 1:48 PM.
Details Summary We would previously assert here when trying to figure out the section This makes us handle the situation more gracefully since the IR isn't
Diff Detail Event Timelinernk edited edge metadata. Comment Actionslgtm
This revision is now accepted and ready to land.Jun 4 2014, 2:07 PM
Revision Contents
Diff 10103 lib/CodeGen/AsmPrinter/AsmPrinter.cpp
test/MC/COFF/global_ctors_dtors.ll
|
This should briefly explain why, with something like:
// If the associated variable is available_externally, some other TU will provide its dynamic initializer.