]> granicus.if.org Git - clang/commit
weak globals that are const should get weak_odr linkage.
authorChris Lattner <sabre@nondot.org>
Wed, 5 Aug 2009 05:20:29 +0000 (05:20 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 5 Aug 2009 05:20:29 +0000 (05:20 +0000)
commite78b86f3201ae5f09e2cf85bd6558f1d9b34de26
tree126da0c19d0286e5616e2506c79cc92bd9fca502
parent309457d0f1b416c1b379c9f3e172848adffedb23
weak globals that are const should get weak_odr linkage.

add a fixme about C++ const.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78159 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CodeGen/global-init.c