Move -DMZ_DECLARE_NORETURN to CPPFLAGS
With this change, the generation of C files in xform will carry the declaration as well. This means that we will have less false positives on the files.
This commit is contained in:
parent
935c558717
commit
1795bcb924
|
@ -59,7 +59,7 @@ scan-build:racket:
|
||||||
script:
|
script:
|
||||||
- export PATH=$INSTALL_DIR/bin:$PATH
|
- export PATH=$INSTALL_DIR/bin:$PATH
|
||||||
- export LD_LIBRARY_PATH=$INSTALL_DIR/bin:$LD_LIBRARY_PATH
|
- export LD_LIBRARY_PATH=$INSTALL_DIR/bin:$LD_LIBRARY_PATH
|
||||||
- scan-build -o scan-report_cc -analyzer-config 'crosscheck-with-z3=true' make PKGS="" CPUS=5 CONFIGURE_ARGS_qq='CFLAGS="-O0 -g -DMZ_DECLARE_NORETURN" --disable-strip'
|
- scan-build -o scan-report_cc -analyzer-config 'crosscheck-with-z3=true' make PKGS="" CPUS=5 CONFIGURE_ARGS_qq='CFLAGS="-O0 -g" CPPFLAGS="-DMZ_DECLARE_NORETURN" --disable-strip'
|
||||||
dependencies:
|
dependencies:
|
||||||
- prepare-cache:llvm
|
- prepare-cache:llvm
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -81,7 +81,7 @@ scan-build:racketcs:
|
||||||
script:
|
script:
|
||||||
- export PATH=$INSTALL_DIR/bin:$PATH
|
- export PATH=$INSTALL_DIR/bin:$PATH
|
||||||
- export LD_LIBRARY_PATH=$INSTALL_DIR/bin:$LD_LIBRARY_PATH
|
- export LD_LIBRARY_PATH=$INSTALL_DIR/bin:$LD_LIBRARY_PATH
|
||||||
- scan-build -o scan-report-cs_cc -analyzer-config 'crosscheck-with-z3=true' make PKGS="" CPUS=5 CONFIGURE_ARGS_qq='CFLAGS="-O0 -g -DMZ_DECLARE_NORETURN" --disable-strip' cs
|
- scan-build -o scan-report-cs_cc -analyzer-config 'crosscheck-with-z3=true' make PKGS="" CPUS=5 CONFIGURE_ARGS_qq='CFLAGS="-O0 -g" CPPFLAGS="-DMZ_DECLARE_NORETURN" --disable-strip' cs
|
||||||
dependencies:
|
dependencies:
|
||||||
- prepare-cache:llvm
|
- prepare-cache:llvm
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user