-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_allocator: Make assertions more tunable
Previously, assertions in pw_allocator were either always enabled or only enabled when "strict" validation was requested. These assertions have been observed to prevent the compiler from being able to effectively inline various CRTP-style classes. In many cases, they represent internal checks rather than checks at the API boundary or when reading (possibly corrupted) metadata. As a result, the module configuration has been updated to allow finer-grained control of assertions, which in turn allows consumers to find the right balance of validation, performance, and code size for their needs. Change-Id: Ib1c5a13f493e5c77d71eb4b318d19a2e38e67cf9 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/264641 Reviewed-by: Wyatt Hepler <[email protected]> Lint: Lint 🤖 <[email protected]> Commit-Queue: Aaron Green <[email protected]>
- Loading branch information
1 parent
dcd8f58
commit 60a1d0c
Showing
33 changed files
with
675 additions
and
422 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.