This is an archive of the discontinued LLVM Phabricator instance.

WinCOFF: Emit common symbols as specified in the COFF spec
ClosedPublic

Authored by majnemer on Apr 8 2014, 1:38 PM.

Details

Summary

Local common symbols were properly inserted into the .bss section.
However, putting external common symbols in the .bss section would give
them a strong definition.

Instead, encode them as undefined, external symbols who's symbol value
is equivalent to their size.

Diff Detail

Repository
rL LLVM

Event Timeline

majnemer closed this revision.May 19 2014, 7:23 AM
majnemer updated this revision to Diff 9534.

Closed by commit rL205811 (authored by @majnemer).