This helps us catch cases where we add support for a flag but forget to remove HelpHidden from Options.td. More explicit alternative to D92455 Differential Revision: https://reviews.llvm.org/D92575
9 lines
276 B
Python
9 lines
276 B
Python
# -*- Python -*-
|
|
|
|
import os
|
|
|
|
lld = ('lld -flavor darwinnew -syslibroot ' +
|
|
os.path.join(config.test_source_root, "MachO", "Inputs", "MacOSX.sdk"))
|
|
config.substitutions.append(('%lld', lld + ' -fatal_warnings'))
|
|
config.substitutions.append(('%no_fatal_warnings_lld', lld))
|