-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PA] Make PA_BASE_*CHECK() not allocate memory.
To make PA_BASE_*CHECK() inside PartitionAlloc, make PA_BASE_*CHECK() on-stack objects. This requires more stack size. Looking at ThreadTest.StartWithOptions_StackSize, decided to make the buffer size for logging 256u. (1024u causes the test's failure on 32bit bots) This change also makes check.h depend on logging.h, but if check.h includes logging.h, we will see "error: 'PA_LOG' macro redefined", because chromeos/ash/components/multidevice/logging/logging.h defines PA_LOG(). So split logging.h into logging.h and log_message.h, and make check.h include log_message.h. PS1 = copy logging.{h,cc} to log_message.{h,cc} Change-Id: I65973b7482363cd6f77a6b7064cbb66fdd8a01e5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4806322 Reviewed-by: Yuki Shiino <yukishiino@chromium.org> Reviewed-by: Kalvin Lee <kdlee@chromium.org> Commit-Queue: Takashi Sakamoto <tasak@google.com> Cr-Commit-Position: refs/heads/main@{#1188202}
- Loading branch information
Showing
8 changed files
with
517 additions
and
411 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
Oops, something went wrong.