| commit | 8f936b561017d4c77b4b6a1b9921162107ab6cd1 | [log] [tgz] |
|---|---|---|
| author | danakj <[email protected]> | Fri Jul 26 20:37:47 2024 |
| committer | Copybara-Service <[email protected]> | Fri Jul 26 20:49:29 2024 |
| tree | 3e8e95821e8de7210f00c9e1cfe7268bd5f1fce9 | |
| parent | 894aef6c8698ebd22d24113625d3952521609ef3 [diff] |
Use spans in base StackTrace and enable more unsafe-buffer-usage Enable unsafe buffer warnings in a few files in base, which turned up a rabbit hole to spanify the StackTrace code. Instead of working with void**, work with span<void*> and remove the explicit size parameters. Remove TraceStackFramePointersFromBuffer as its only caller was from unit tests, and remove the test case that was calling it. Bug: 40284755 Change-Id: Ibaeaee08acf951025ec5a090b12a60f49b86f5e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5740744 Reviewed-by: Daniel Cheng <[email protected]> Owners-Override: Daniel Cheng <[email protected]> Auto-Submit: danakj <[email protected]> Commit-Queue: danakj <[email protected]> Cr-Commit-Position: refs/heads/main@{#1333759} NOKEYCHECK=True GitOrigin-RevId: e75c6c812282a4268d067c09a5bf6c9d272ca557