summaryrefslogtreecommitdiff
path: root/test/CodeGen/global-blocks-win32.c
Commit message (Collapse)AuthorAgeFilesLines
* Correctly initialise global blocks on Windows.David Chisnall2018-08-091-0/+18
Summary: Windows does not allow globals to be initialised to point to globals in another DLL. Exported globals may be referenced only from code. Work around this by creating an initialiser that runs in early library initialisation and sets the isa pointer. Reviewers: rjmccall Reviewed By: rjmccall Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D50436 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339317 91177308-0d34-0410-b5e6-96231b3b80d8