diff options
| author | Joe Daniels <joseph_daniels@apple.com> | 2019-02-04 23:32:55 +0000 |
|---|---|---|
| committer | Joe Daniels <joseph_daniels@apple.com> | 2019-02-04 23:32:55 +0000 |
| commit | f7393d2a3e5ce8766b9eab43d0b68de43f953a5b (patch) | |
| tree | f109feeb8dc5c0c93220af790e418d6ae4adfb13 /llvm/include | |
| parent | 3062887c9956f2eeabc2e017fbab5c3ab94710b9 (diff) | |
| download | bcm5719-llvm-f7393d2a3e5ce8766b9eab43d0b68de43f953a5b.tar.gz bcm5719-llvm-f7393d2a3e5ce8766b9eab43d0b68de43f953a5b.zip | |
[OBJC] Add attribute to mark Objective C class as non-lazy
A non-lazy class will be initialized eagerly when the Objective-C runtime is
loaded. This is required for certain system classes which have instances allocated in
non-standard ways, such as the classes for blocks and constant strings.
Adding this attribute is essentially equivalent to providing a trivial
+load method but avoids the (fairly small) load-time overheads associated
with defining and calling such a method.
Differential Revision: https://reviews.llvm.org/D56555
llvm-svn: 353116
Diffstat (limited to 'llvm/include')
0 files changed, 0 insertions, 0 deletions

