Skip to content

Commit

Permalink
try without -shared-libasan
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Aug 7, 2024
1 parent b6c866e commit de47916
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sanitizers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ jobs:
{
echo "LIBRARY_PATH=$LIBRARY_PATH:$(pwd)/php/target/lib"
# https://github.com/google/sanitizers/wiki/AddressSanitizerAsDso
echo "LD_PRELOAD=$(clang -print-file-name=libclang_rt.asan-x86_64.so)"
echo "CGO_CFLAGS=$CFLAGS -shared-libasan $(php-config --includes)"
echo "CGO_LDLAGS=$LDFLAGS -shared-libasan $(php-config --ldflags || true) $(php-config --libs || true)"
#echo "LD_PRELOAD=$(clang -print-file-name=libclang_rt.asan-x86_64.so)"
echo "CGO_CFLAGS=$CFLAGS $(php-config --includes)"
echo "CGO_LDLAGS=$LDFLAGS $(php-config --ldflags || true) $(php-config --libs || true)"
} >> "$GITHUB_ENV"
-
name: Run library tests with sanitizers
Expand Down

0 comments on commit de47916

Please sign in to comment.