]> granicus.if.org Git - clang/commit
Set the linkage before setting the visibility.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 13 Jul 2015 06:07:58 +0000 (06:07 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 13 Jul 2015 06:07:58 +0000 (06:07 +0000)
commit83475c76f1e311fabf708dd17734917108dddaf0
tree7a360d020d7aa03eacd2388018aaf56962ed7916
parentada8d321abf4dd2f1b8a67a52b919e3eac7eeb07
Set the linkage before setting the visibility.

Otherwise the visibility setting code would not know that a given
function was available_externally.

Fixes PR24097.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242012 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGVTables.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/pr24097.cpp [new file with mode: 0644]