Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
Build AZ3 with asan
Browse files Browse the repository at this point in the history
ref #24

[no ci]
  • Loading branch information
jklmnn committed Nov 22, 2021
1 parent 85c9c53 commit 3daccb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ project Tests is
for Exec_Dir use "../obj/tests";

package Builder is
for Global_Compilation_Switches ("Ada") use ("--coverage");
for Global_Compilation_Switches ("Ada") use ("--coverage", "-fsanitize=address", "-fno-omit-frame-pointer");
for Default_Switches ("Ada") use Z3_Switches.Compiler_Switches & ("-O0");
end Builder;

package Linker is
for Default_Switches ("Ada") use ("-lgcov", "-lz3");
for Default_Switches ("Ada") use ("-fsanitize=address", "-static-libasan", "-lgcov", "-lz3");
end Linker;

package Binder is
Expand Down

0 comments on commit 3daccb0

Please sign in to comment.