'static const void *X = &&y' can only be put in the
authorChris Lattner <sabre@nondot.org>
Wed, 28 Oct 2009 04:12:16 +0000 (04:12 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 28 Oct 2009 04:12:16 +0000 (04:12 +0000)
commit5d81befc217bdd89ec17979797cfa297985e79d7
treeeec27098791cc9ff86cd738f9f366db04488c53e
parent6688d617978b338f96d27c6d73a396fbd2bf8e9c
'static const  void *X = &&y' can only be put in the
readonly section if a reference to the containing function
is valid in the readonly section.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85370 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Constants.cpp