X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/f410558f5d60087e4c310119a1751b437121c3b9..e456bf1059cf7e6b8b71545d1b2f2092b55a9684:/unit-tests/test-cases/lto-live_support_section/Makefile diff --git a/unit-tests/test-cases/lto-live_support_section/Makefile b/unit-tests/test-cases/lto-live_support_section/Makefile index 01b417f..df62d3f 100644 --- a/unit-tests/test-cases/lto-live_support_section/Makefile +++ b/unit-tests/test-cases/lto-live_support_section/Makefile @@ -31,7 +31,7 @@ include ${TESTROOT}/include/common.makefile run: all all: - ${CC} ${CCFLAGS} -flto -o foo foo.c -Wl,-dead_strip,-exported_symbol,_my_global -v + ${CC} ${CCFLAGS} -flto -o foo foo.c -Wl,-dead_strip,-exported_symbol,_my_global # Check symbols that are expected to be preserved nm -m foo | grep _global_metadata | ${FAIL_IF_EMPTY} nm -m foo | grep _liveness_binder | ${FAIL_IF_EMPTY} @@ -40,6 +40,7 @@ all: # Check symbols that are expected to be stripped nm -m foo | grep unused | ${FAIL_IF_STDIN} - + + ${PASS_IFF} true clean: rm foo