commit | 82da5a1b3d1b44d827c14eef36625859803352a6 | [log] [tgz] |
---|---|---|
author | Chris Dewhurst <chris.dewhurst@lero.ie> | Fri Apr 22 08:13:47 2016 +0000 |
committer | Chris Dewhurst <chris.dewhurst@lero.ie> | Fri Apr 22 08:13:47 2016 +0000 |
tree | 078d0324fc94b219a2e13b641d313458e8dcbd30 | |
parent | 8866d94a61eb44aad059c1f95648d358b9fdfb8d [diff] |
The following code would not work before this patch, due to the inability to take the address of a global object: void func1() { ... } int main(int argc, char** argv) { void (*pFunc)(); pFunc = &func1 pFunc(); ... } Phabricator review: http://reviews.llvm.org/D19368 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267120 91177308-0d34-0410-b5e6-96231b3b80d8