X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/f410558f5d60087e4c310119a1751b437121c3b9..HEAD:/unit-tests/test-cases/dwarf-debug-notes-lto/Makefile diff --git a/unit-tests/test-cases/dwarf-debug-notes-lto/Makefile b/unit-tests/test-cases/dwarf-debug-notes-lto/Makefile index b498430..c0c27c2 100644 --- a/unit-tests/test-cases/dwarf-debug-notes-lto/Makefile +++ b/unit-tests/test-cases/dwarf-debug-notes-lto/Makefile @@ -46,9 +46,10 @@ all: ${CXX} ${CCXXFLAGS} -flto=thin -gdwarf-2 hello.o other.o -o hello.thin -Wl,-object_path_lto,thinlto.o ${FAIL_IF_BAD_MACHO} hello.thin # Check that we have a non zero timestamp in the debug note - nm -ap hello.thin | grep '^[0-9a-z]*[1-9a-z][0-9a-z]* .*OSO.*thinlto.o/0.o$$' | ${FAIL_IF_EMPTY} - nm -ap hello.thin | grep '^[0-9a-z]*[1-9a-z][0-9a-z]* .*OSO.*thinlto.o/1.o$$' | ${FAIL_IF_EMPTY} + nm -ap hello.thin | grep '^[0-9a-z]*[1-9a-z][0-9a-z]* .*OSO.*thinlto.o/0.thinlto.o$$' | ${FAIL_IF_EMPTY} + nm -ap hello.thin | grep '^[0-9a-z]*[1-9a-z][0-9a-z]* .*OSO.*thinlto.o/1.thinlto.o$$' | ${FAIL_IF_EMPTY} + ${PASS_IFF} true clean: rm -rf hello hello.thin hello.o other.o lto.o thinlto.o