]> granicus.if.org Git - clang/commit
Fix pr9614 by not emitting an available_externally function when it calls
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 26 Oct 2011 20:41:06 +0000 (20:41 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 26 Oct 2011 20:41:06 +0000 (20:41 +0000)
commita411d2f1ed4598a7a96a7befe07a9d9ee1a6efde
treeb829ea5b2d3a94918477cca8a1362e1760e8d97b
parent29e627ad9679bd3aa274cbe464127fdaba6241ca
Fix pr9614 by not emitting an available_externally function when it calls
itself via an asm label.

available_externally functions are supposed to correspond to an external
function, and that is not the case in the examples in pr9614.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143049 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
test/CodeGen/pr9614.c [new file with mode: 0644]