HomePhabricator

Correctly initialise global blocks on Windows.

Description

Correctly initialise global blocks on Windows.

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

Details

Committed
theravenAug 9 2018, 1:02 AM
Reviewer
rjmccall
Differential Revision
D50436: Correctly initialise global blocks on Windows.
Branches
Unknown
Tags
Unknown