Fix GCC not allowing sanitizers to do their work
This commit is contained in:
parent
1566b7fdc1
commit
3b1762ad09
@ -21,8 +21,8 @@ return {
|
|||||||
evaluate_template_modifiers = true,
|
evaluate_template_modifiers = true,
|
||||||
received_problems_prompt_path = false,
|
received_problems_prompt_path = false,
|
||||||
compile_command = {
|
compile_command = {
|
||||||
c = { exec = "gcc", args = { "-O0", "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "-std=c23", "$(FNAME)", "-o", "$(FNOEXT).out", "-lm" } },
|
c = { exec = "gcc", args = { "-O0", "-Wall", "-ggdb3", "-DDEBUG", "-fsanitize=address,undefined", "-std=c23", "$(FNAME)", "-o", "$(FNOEXT).out", "-lm" } },
|
||||||
cpp = { exec = "g++", args = { "-O0", "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "-std=c++20", "$(FNAME)", "-o", "$(FNOEXT).out" } },
|
cpp = { exec = "g++", args = { "-O0", "-Wall", "-ggdb3", "-DDEBUG", "-fsanitize=address,undefined", "-D__OPTIMIZE__", "-std=c++20", "$(FNAME)", "-o", "$(FNOEXT).out" } },
|
||||||
},
|
},
|
||||||
run_command = {
|
run_command = {
|
||||||
c = { exec = "./$(FNOEXT).out" },
|
c = { exec = "./$(FNOEXT).out" },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user