Implement codegen for init_priority attribute properly - make sure it
authorAnton Korobeynikov <asl@math.spbu.ru>
Tue, 6 Nov 2012 22:44:45 +0000 (22:44 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Tue, 6 Nov 2012 22:44:45 +0000 (22:44 +0000)
commitabed749203dbbd37fc9a5e3030b67fddd2f8e924
tree7a671cb2a025f7432302bde723c4ddc727cc679e
parent8cbca20a59d5fe320ff9764eb4795489e398a410
Implement codegen for init_priority attribute properly - make sure it
works between the modules.
No functionality change on Darwin/Windows.
This fixes PR11480.

llvm-svn: 167496
clang/lib/CodeGen/CGDeclCXX.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/test/CodeGenCXX/init-priority-attr.cpp [new file with mode: 0644]