profile, gprof, sanitize

This commit is contained in:
2023-03-15 18:01:03 +06:00
parent 9f04507bd8
commit ec4209831b
6 changed files with 109 additions and 56 deletions

View File

@@ -1,18 +1,22 @@
# v6
+ `build_profile` task was split to `profile` and `gprof`
+ added task `sanitize`
# v5
+ added task clean
+ added task exec_dbg
+ added task build_profile
+ added -flto optimization to build_exec task
+ added -fprofile-use to build_exec task
+ added task `clean`
+ added task `exec_dbg`
+ added task `build_profile`
+ added `-flto` optimization to `build_exec` task
+ added `-fprofile-use` to `build_exec` task
+ removed default configs loading in `init.sh`, now reads just line with version from `cbuild/default.config` and `default.config`
+ OBJDIR structure changed
+ `OBJDIR` structure changed
+ added error on unknown task in config
+ makefile now writes logs to make_raw.log
+ added makefile task fix_log
+ makefile now writes logs to `make_raw.log`
+ added makefile task `fix_log`
+ new comments in scripts and Makefile
+ wrapped arguments with quots in scripts
+ now u should add CPP_ARGS to LINKER_ARGS manually
+ added error(msg) function to functions.sh
+ replaced printf calls with myprint in scripts
+ added default .gitignore
+ added *.log to .gitignore
+ now you have to add `CPP_ARGS` to `LINKER_ARGS` manually
+ added `error(msg)` function to `functions.sh`
+ replaced `printf` calls with `myprint` in scripts
+ added default `.gitignore`
+ added *.log to `.gitignore`