2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-22 03:12:16 +00:00
Commit Graph

36 Commits

Author SHA1 Message Date
Rene Rivera
3eb06ca47c Debug CI crash 12/n [skip ci] 2022-04-11 21:34:16 -05:00
Rene Rivera
1270abb67d Debug CI crash 11/n [skip ci]
Route all stack cacls through new nth method. And use array indexing to
compute the offsets instead of possibly UB pointer math.
2022-04-11 19:56:42 -05:00
Rene Rivera
22c5f3abb7 Debug Ci crash 10/n [skip ci] 2022-04-11 17:09:12 -05:00
Rene Rivera
35bfccfc33 Debug CI crash 9/n [skip ci] 2022-04-11 12:59:44 -05:00
Rene Rivera
cadb1cfadb Debug CI crash 8/n [skip ci] 2022-04-11 11:55:39 -05:00
Rene Rivera
055dd41f1b Debug CI crash 7/n [skip ci] 2022-04-11 08:34:53 -05:00
Rene Rivera
a5a1d99bb6 Debug CI crash 6/n [skip ci] 2022-04-10 23:22:24 -05:00
Rene Rivera
9cb8146db1 Debug CI crash 5/n [skip ci] 2022-04-10 21:46:37 -05:00
Rene Rivera
19f5d5f5e9 Debug CI crash 4/n [skip ci] 2022-04-10 17:13:18 -05:00
Rene Rivera
51e927b151 Debug CI crash 3/n [skip ci] 2022-04-10 11:40:02 -05:00
René Ferdinand Rivera Morell
cb23d0955c Workarounds for old msvc compile errors. 2022-04-09 10:08:55 -05:00
Rene Rivera
9c74a5a845 Fix mem leak when arg typechecks fail.
If a rule arg typecheck failed we would leak argument values. This uses
RAII to track owenership instead of manual management to prevent
missing a free when an early exit exception is thrown for such failures.

This marks the last mem leak in the ASAN tests. And marks a clean ASAN
run for all tests.
2022-04-09 00:22:57 -05:00
Rene Rivera
b6b7ff57c0 Fix msvc compile by avoiding tuples. 2022-04-02 13:30:54 -05:00
Rene Rivera
bc4a6c3d4e Fix orphan items in function eval stack. 2022-04-02 11:35:47 -05:00
Rene Rivera
e82fdf2e7c Use alternate sizeof advance size calc re msvc. 2022-03-29 13:25:08 -05:00
Rene Rivera
03dd13ef23 Use safer, but slower, select_last_t for msvc. 2022-03-29 08:38:42 -05:00
Rene Rivera
a9a21dfc72 Make all jam stack access type safe. 2022-03-29 08:31:02 -05:00
Rene Rivera
266c664fd9 Remove public function STACK access.
In preparation to clean up the Jam function global stack move the
definition of the STACK and related functions inside the function.cpp
source file only.
2022-03-22 23:02:51 -04:00
Rene Rivera
a9aafc7a70 Replace most exit/abort with exception equivalent.
This replaces most abort/exit calls with the utility that throws an
exception. The exception is caught in main to cleanly return failure.
This allows to clean up allocations and always return a valid status
value instead of abnormal termination.
2022-03-03 21:17:38 -06:00
Nikita Kniazev
5731edb171 Bail out when list of lists limit is reached (#52)
Previously it was silently not appending anything, what also was leading to silently dropping rule parameters.
2021-07-11 21:39:31 -05:00
Nikita Kniazev
d89f209402 Fix a memory leak from @() feature implementation (#51)
There are still some memory leaks left to catch, but those are seems to be introduced far back.
2021-07-11 15:15:25 -05:00
Rene Rivera
c9cc1ae2ed Replace refs to boost.org witth bfgroup.xyz. 2021-02-20 21:35:16 -06:00
Rene Rivera
537dabb6d3 Revert more list alloc changes. 2021-01-01 16:40:42 -06:00
Rene Rivera
51d3a6d1c3 Abstract apply mods value. 2020-12-31 08:39:17 -06:00
Rene Rivera
29baa79c7e Fix two memory leaks from new @() features. 2020-12-29 11:36:17 -06:00
René Ferdinand Rivera Morell
f62f474ed3 Fix use of mutiple conflicting @() in one action.
In the case where multiple @() substitutions happen in one action the
dynamic choice of file vs content would apply to all. This would cause
problems as some of them might not be command options. This change
adds an ":O=" options specifier to variables that can control what type
of @() substitution can happen for each expansion. By specifying "O:=FC"
one can select to allow either file or content expansion making that @()
instance dynamic. When not specified the default is as if "O:=F".
2020-12-17 08:41:47 -06:00
René Ferdinand Rivera Morell
4e26e133fa Fix coercion warning. 2020-12-14 09:55:44 -06:00
René Ferdinand Rivera Morell
1e658bae2b Fix missing subscript operator on new @() evals. 2020-12-14 08:19:59 -06:00
Rene Rivera
e206f0d602 Initial implementation of dynamic response files.
This implements the ability for response file "@()" substitution to
dynamically adjust to either expand the content or create the response
file depending on the possible command line length. This should
reduce the create of such response temp files improving build
performance.
2020-12-13 21:30:03 -06:00
Rene Rivera
84dae08aa0 Fix outstanding 32/64 warnings on Linux gcc+clang. 2020-09-09 21:49:17 -05:00
René Ferdinand Rivera Morell
84666e77fa 64/32 bit compile working by using int32 types as needed. 2020-09-09 09:46:08 -05:00
Nikita Kniazev
0eadb37690 Print fopen fail reason (#583) 2020-05-05 08:46:17 -05:00
Rene Rivera
aa9b558bb2 Restore cygwin/vms only function.
fixes #541
2020-02-27 22:58:14 -06:00
Rene Rivera
e115f07729 Clean up build warnings (gcc & clang). 2020-02-24 22:10:15 -06:00
Steven Watanabe
2d306dbe9c Fix errors reported by ubsan. (memcpy w/ nullptr). 2019-04-24 16:31:31 -06:00
Rene Rivera
0c1e3a7689 Rename to cpp files and add dev builds of b2. 2019-04-07 15:17:30 -05:00