diff options
author | Pete Cooper <peter_cooper@apple.com> | 2016-01-19 18:46:40 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2016-01-19 18:46:40 +0000 |
commit | feaa967ee813be3fa34ebc2b7a4751f2ec821df5 (patch) | |
tree | 7733266fc2ad3af0bce659664619424f33233362 /lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp | |
parent | 1a196f7dafb324ee9cd1d8e77aef500910053fea (diff) | |
download | bcm5719-llvm-feaa967ee813be3fa34ebc2b7a4751f2ec821df5.tar.gz bcm5719-llvm-feaa967ee813be3fa34ebc2b7a4751f2ec821df5.zip |
Cache the objc image info constraints in file.
Image info flags describe the objc constraint which is GC/retain/release/etc.
These need to be parsed and stored in the file so that we can do error checking.
That will come in a later commit.
llvm-svn: 258160
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp')
-rw-r--r-- | lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp index 6987f7afb06..5fcc259a498 100644 --- a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp +++ b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp @@ -145,11 +145,10 @@ MachOLinkingContext::MachOLinkingContext() _doNothing(false), _pie(false), _arch(arch_unknown), _os(OS::macOSX), _osMinVersion(0), _pageZeroSize(0), _pageSize(4096), _baseAddress(0), _stackSize(0), _compatibilityVersion(0), _currentVersion(0), - _swiftVersion(0), - _flatNamespace(false), _undefinedMode(UndefinedMode::error), - _deadStrippableDylib(false), _printAtoms(false), _testingFileUsage(false), - _keepPrivateExterns(false), _demangle(false), _archHandler(nullptr), - _exportMode(ExportMode::globals), + _objcConstraint(objc_unknown), _swiftVersion(0), _flatNamespace(false), + _undefinedMode(UndefinedMode::error), _deadStrippableDylib(false), + _printAtoms(false), _testingFileUsage(false), _keepPrivateExterns(false), + _demangle(false), _archHandler(nullptr), _exportMode(ExportMode::globals), _debugInfoMode(DebugInfoMode::addDebugMap), _orderFileEntries(0), _flatNamespaceFile(nullptr) {} |