]> granicus.if.org Git - clang/commit
c++: support gcc's application of weak attribute on
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 21 Oct 2011 22:27:12 +0000 (22:27 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 21 Oct 2011 22:27:12 +0000 (22:27 +0000)
commit13c7fcceb9fd96f5be03af038ce16b05bb5e9598
tree9637da52c0f5ee1e41a9cad79ddf9256094f929f
parent9c0778bbdaab668e173f20f10b57c59aa586d69d
c++: support gcc's application of weak attribute on
class declaration which forces any such class and any
class that inherits from such a class to have their
typeinfo symbols be marked as weak.
// rdar://10246395
A    test/CodeGenCXX/weak-extern-typeinfo.cpp
M    lib/Sema/SemaDeclCXX.cpp
M    lib/Sema/SemaDeclAttr.cpp
M    lib/CodeGen/CGRTTI.cpp

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142693 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGRTTI.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaDeclCXX.cpp
test/CodeGenCXX/weak-extern-typeinfo.cpp [new file with mode: 0644]