commit | 0dabdad1023cbc3a5d43c69b8c1a9d23832f84b6 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Tue May 06 15:39:17 2025 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 06 15:39:17 2025 -0700 |
tree | e72af82eb8788b9563eb6f5430ced04a760ae46c | |
parent | 81291f0eb6440178b7405babfc9e1e7c5497f296 [diff] |
pw_tokenizer: Deduplicate entries when reading from ELF - Rework detokenization tests for ELF sections. - Expand test coverage to include duplicate identical tokens. The test ELF file already contained several of these, so the tests did not initially pass. - Support comparing FormatString objects. - Check for duplicates before adding entries to the detokenizer when reading from ELF. Fixes: b/413729254 Change-Id: I7af2d8d7e75e6c7ec7d5fbb2e819334c6cd5e084 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/289412 Reviewed-by: Dave Roth <davidroth@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Docs-Not-Needed: Wyatt Hepler <hepler@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.