Allow -dead_strip linking on platforms with .subsections_via_symbols
[ghc.git] / testsuite / tests / llvm / should_run / subsections_via_symbols / all.T
1 if config.os == 'darwin':
2   only_darwin = normal
3 else:
4   only_darwin = skip
5
6
7 # Note [_ffi_call_unix64]
8 #
9 # Please refer to https://ghc.haskell.org/trac/ghc/ticket/5019
10 # for the subsections_via_symbols.stderr
11
12 test('subsections_via_symbols',
13      [extra_clean(['SubsectionsViaSymbols.hi', 'SubsectionsViaSymbols.o', 'SymbolsViaSections_stub.h', 'subsections_via_symbols', 'SubsectionsViaSymbols.a', 'SymbolsViaSections.hi', 'SymbolsViaSections.o', 'subsections_via_symbols.o']),
14       only_darwin],
15      run_command, ['$MAKE -s --no-print-directory subsections_via_symbols_test'])