GCC 11 adds a new warning, "-Wstringop-overread", that this code
violates. This commit suppresses that warning on GCC 11 and above.
Change-Id: Ie79572639f1c89f1b8f2cdf009949159b3230f1c
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/112862
Commit-Queue: Eli Lipsitz <elipsitz@google.com>
Pigweed-Auto-Submit: Eli Lipsitz <elipsitz@google.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
- Switch from std::span to pw::span.
- Update the custom compilation in build_id_test.py to pull in pw::span
and its dependencies rather than std::span.
Change-Id: I70dc17fef4033eb7996305ee961b179430204977
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/98263
Reviewed-by: Armando Montanez <amontanez@google.com>
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Commit-Queue: Wyatt Hepler <hepler@google.com>
Conditionally applies a GCC-only flag when building with gcc.
Change-Id: I22d8decbd780db89b3b07c6880ff4f46a185897f
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/66784
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Introduces the pw_build_info module, and adds support for reading GNU
build IDs from python and from inside the context of a C++ application.
Change-Id: I105627cffff28f5a6a2dbdf396be34143b0637d9
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/53760
Reviewed-by: Wyatt Hepler <hepler@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Commit-Queue: Armando Montanez <amontanez@google.com>