v/compiler
Delyan Angelov 065ce39577 compiler: -g and -debug should always add -g at least in the C compiler by default
* compiler: -g and -debug should always add -g at least in the C compiler by default.

* Set first the C backend debug_options, so that the optimization_options can override them later.

* Implement cleaner named is_debug, is_vlines, is_keep_c and is_cache options (i.e. -g/-cg, -keep_c, -cache v flags).

* Check and reset file/line numbers in the generated main program, only if v.pref.is_vlines is true.
2019-10-12 13:54:01 +03:00
..
tests
cc.v
cflags.v
cgen.v backtraces: add source line numbers too on linux 2019-10-12 00:04:42 +03:00
cheaders.v
compile_errors.v
comptime.v
depgraph.v
fn.v
gen_c.v
gen_js.v
jsgen.v
live.v
main.v
module_header.v
modules.v
msvc.v
optimization.v
parser.v
parser2.v
query.v
repl.v
scanner.v
table.v
token.v
vfmt.v
vhelp.v
vtest.v