summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2015-05-20 22:10:50 +0000
committerLang Hames <lhames@gmail.com>2015-05-20 22:10:50 +0000
commit65a64c9c299a232c1082f16b59b43652ec0c0fcd (patch)
treee5ecf62f73aa9b042cf3c8795ee1ca7c4c0d1159 /lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
parent267d31e13754fb747512c0d2a981b2ea5ae71e0f (diff)
downloadbcm5719-llvm-65a64c9c299a232c1082f16b59b43652ec0c0fcd.tar.gz
bcm5719-llvm-65a64c9c299a232c1082f16b59b43652ec0c0fcd.zip
[LLD] Add support for the -stack_size option to Darwin ld.
llvm-svn: 237841
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp')
-rw-r--r--lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
index ee85f5c3331..b6f5c3f4fc2 100644
--- a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
+++ b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
@@ -142,9 +142,9 @@ MachOLinkingContext::MachOLinkingContext()
: _outputMachOType(MH_EXECUTE), _outputMachOTypeStatic(false),
_doNothing(false), _pie(false), _arch(arch_unknown), _os(OS::macOSX),
_osMinVersion(0), _pageZeroSize(0), _pageSize(4096), _baseAddress(0),
- _compatibilityVersion(0), _currentVersion(0), _deadStrippableDylib(false),
- _printAtoms(false), _testingFileUsage(false), _keepPrivateExterns(false),
- _demangle(false), _archHandler(nullptr),
+ _stackSize(0x800000), _compatibilityVersion(0), _currentVersion(0),
+ _deadStrippableDylib(false), _printAtoms(false), _testingFileUsage(false),
+ _keepPrivateExterns(false), _demangle(false), _archHandler(nullptr),
_exportMode(ExportMode::globals),
_debugInfoMode(DebugInfoMode::addDebugMap), _orderFileEntries(0) {}
OpenPOWER on IntegriCloud