Consistently use the --pdb= form in scripts

Stop using the separate argument form (-Wl,-pdb,<filename>), and
prefer using the option form with an implicit output name.
This commit is contained in:
Martin Storsjö committed 2022-10-12 15:28:45 +03:00
1 parent 21d1cf6f18
commit 22b1ff128b
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -146,7 +146,7 @@ RUN cd test && \
;; \
esac && \
for test in stacksmash; do \
$arch-w64-mingw32-clang $test.c -o $arch/$test-asan.exe -fsanitize=address -g -gcodeview -Wl,-pdb,$arch/$test-asan.pdb || exit 1; \
$arch-w64-mingw32-clang $test.c -o $arch/$test-asan.exe -fsanitize=address -g -gcodeview -Wl,--pdb= || exit 1; \
done; \
for test in ubsan; do \
$arch-w64-mingw32-clang $test.c -o $arch/$test.exe -fsanitize=undefined -fno-sanitize-recover=all || exit 1; \