[PATCH] D27547: Allow common linkage global var have non-zero initializer

Yaxun Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 14:25:14 PST 2016


yaxunl abandoned this revision.
yaxunl added a comment.

This is not right solution since global variable with common linkage does not have explicit section. Use weak linkage for global variables with non-zero initializer instead.


https://reviews.llvm.org/D27547





More information about the llvm-commits mailing list