From fba71c70ca7bfc6aeedb1589eebd90681f23b4ae Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Sat, 12 Dec 2020 18:58:59 -0800 Subject: [PATCH] Copy llvm-symbolizer in $OUT, needed for python targets. (#4832) --- infra/base-images/base-builder/compile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infra/base-images/base-builder/compile b/infra/base-images/base-builder/compile index a64bd5612..19a9c62d2 100755 --- a/infra/base-images/base-builder/compile +++ b/infra/base-images/base-builder/compile @@ -110,6 +110,9 @@ if [ "$FUZZING_LANGUAGE" = "python" ]; then export CXXFLAGS="$CXXFLAGS -fno-sanitize=function,leak,vptr" fi +# Copy latest llvm-symbolizer in $OUT for stack symbolization. +cp $(which llvm-symbolizer) $OUT/ + echo "---------------------------------------------------------------" echo "CC=$CC" echo "CXX=$CXX"