Skip to content

Commit 81f7b9a

Browse files
committed
fix: change '-g3' to '-gdwarf-5' when compiling src
'-g3' includes to much gcc-specific info and this arised in failed test because 'bool' was transformed to '_Bool' and CodeLLDB (lldb) does not know anything about that type, so 'getTypeOutputInfo' invocation failed. Now, use '-gdwarf-5' so gcc will not mess up everything.
1 parent e6ecd25 commit 81f7b9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ patch -p1 -i "$PATCH_FILE"
155155
--without-zstd \
156156
--without-llvm \
157157
--without-zlib \
158-
CFLAGS="-O0 -g3 $CFLAGS" \
159-
CPPFLAGS="-O0 -g3 $CPPFLAGS"
158+
CFLAGS="-O0 -gdwarf-5 $CFLAGS" \
159+
CPPFLAGS="-O0 -gdwarf-5 $CPPFLAGS"
160160

161161
# Setup special file with
162162
ENV_PATH="${PWD}/env.sh"

0 commit comments

Comments
 (0)