Changeset 152195 in webkit
- Timestamp:
- Jun 28, 2013 4:40:09 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r152191 r152195 1 2013-06-28 Andy Estes <aestes@apple.com> 2 3 [Mac] Newer versions of clang use a default template instantiation depth that is too small for TestWebKitAPI 4 https://bugs.webkit.org/show_bug.cgi?id=118208 5 6 Reviewed by Mark Rowe. 7 8 Newer versions of clang use a default template depth of 128, but this 9 is too small for Tests/WTF/HashSet.cpp. Use 256 instead, which was the 10 previous default. 11 12 Clang lowered the default to keep recursive template instantiation 13 from overflowing the stack (see <rdar://problem/13935016>), but 14 TestWebKitAPI's C++ files don't trigger a stack overflow even with the 15 higher limit. If for some reason this starts happening then we can 16 lower the limit back down. 17 18 * TestWebKitAPI/Configurations/Base.xcconfig: Build TestWebKitAPI with -ftemplate-depth=256. 19 1 20 2013-06-28 Nick Diego Yamane <nick.yamane@openbossa.org> 2 21 -
trunk/Tools/TestWebKitAPI/Configurations/Base.xcconfig
r142828 r152195 44 44 WARNING_CFLAGS = -Wall -W -Wno-unused-parameter 45 45 LINKER_DISPLAYS_MANGLED_NAMES = YES; 46 OTHER_CPLUSPLUSFLAGS = $(OTHER_CPLUSPLUSFLAGS) -ftemplate-depth=256; 46 47 47 48 // DEBUG_DEFINES, GCC_OPTIMIZATION_LEVEL, STRIP_INSTALLED_PRODUCT and DEAD_CODE_STRIPPING vary between the debug and normal variants.
Note: See TracChangeset
for help on using the changeset viewer.