summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2015-05-22 00:25:34 +0000
committerLang Hames <lhames@gmail.com>2015-05-22 00:25:34 +0000
commitff4b13c5389ba1f0e1559b413a913f58a5c0ca07 (patch)
treec34d194561aa5d72cb11b5524c12a835e4568e67 /lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
parentb301533ef142ee7cb00c03e2fdb05ae9470a41d1 (diff)
downloadbcm5719-llvm-ff4b13c5389ba1f0e1559b413a913f58a5c0ca07.tar.gz
bcm5719-llvm-ff4b13c5389ba1f0e1559b413a913f58a5c0ca07.zip
[lld] Make the MachO -stack_size default '0', add a test case.
Addresses some review comments for r237841. llvm-svn: 237979
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp')
-rw-r--r--lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
index b6f5c3f4fc2..dc8b8c6223d 100644
--- a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
+++ b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
@@ -142,7 +142,7 @@ 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),
- _stackSize(0x800000), _compatibilityVersion(0), _currentVersion(0),
+ _stackSize(0), _compatibilityVersion(0), _currentVersion(0),
_deadStrippableDylib(false), _printAtoms(false), _testingFileUsage(false),
_keepPrivateExterns(false), _demangle(false), _archHandler(nullptr),
_exportMode(ExportMode::globals),
OpenPOWER on IntegriCloud