Skip to content

Commit

Permalink
dev(fuzz): add -g to compiler flags so we see line numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Nov 20, 2023
1 parent f95612d commit 999176c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gumbo-parser/fuzzer/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ if [[ "${SANITIZER}" = "msan" ]] ; then
SANITIZER_LINK="$(find $($LLVM_CONFIG --libdir) -name libclang_rt.msan_cxx-x86_64.a | head -1)"
fi

CXXFLAGS="-O3 $CXXFLAGS $SANITIZER_OPTS"
CFLAGS="-O3 $CFLAGS $SANITIZER_OPTS"
CXXFLAGS="-O3 -g $CXXFLAGS $SANITIZER_OPTS"
CFLAGS="-O3 -g $CFLAGS $SANITIZER_OPTS"

export CC CFLAGS CXX CXXFLAGS

Expand Down

0 comments on commit 999176c

Please sign in to comment.