Skip to content

Comments

BaseTools: Add support for preserving build ID#1609

Merged
cfernald merged 5 commits intomicrosoft:release/202502from
cfernald:genfw_buildid
Jan 16, 2026
Merged

BaseTools: Add support for preserving build ID#1609
cfernald merged 5 commits intomicrosoft:release/202502from
cfernald:genfw_buildid

Conversation

@cfernald
Copy link
Contributor

@cfernald cfernald commented Jan 6, 2026

Description

Adds an optional flag that will copy the build-id section from the input ELF file to the output firmware image. The Build ID is used for debugging and allows tools to match the firmware image with the correct debug symbols.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

Tested on Q35 & SBSA with GCC5 toolchain

Integration Instructions

N/A

Adds a optional flag that will copy the build-id section
from the input ELF file to the output firmware image. The Build ID is
used for debugging and allows tools to match the firmware image
with the correct debug symbols.
@codecov-commenter
Copy link

codecov-commenter commented Jan 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release/202502@d5c4552). Learn more about missing BASE report.

Additional details and impacted files
@@                Coverage Diff                @@
##             release/202502    #1609   +/-   ##
=================================================
  Coverage                  ?    2.22%           
=================================================
  Files                     ?     1460           
  Lines                     ?   381059           
  Branches                  ?     4584           
=================================================
  Hits                      ?     8477           
  Misses                    ?   372509           
  Partials                  ?       73           
Flag Coverage Δ
MdeModulePkg 1.55% <ø> (?)
MdePkg 5.46% <ø> (?)
NetworkPkg 0.55% <ø> (?)
PolicyServicePkg 30.42% <ø> (?)
UefiCpuPkg 4.92% <ø> (?)
UnitTestFrameworkPkg 11.40% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cfernald cfernald enabled auto-merge (squash) January 16, 2026 17:09
@cfernald cfernald merged commit a4ebcff into microsoft:release/202502 Jan 16, 2026
35 checks passed
apop5 pushed a commit to apop5/mu_basecore that referenced this pull request Jan 27, 2026
Adds an optional flag that will copy the build-id section from the input
ELF file to the output firmware image. The Build ID is used for
debugging and allows tools to match the firmware image with the correct
debug symbols.
apop5 pushed a commit that referenced this pull request Jan 28, 2026
Adds an optional flag that will copy the build-id section from the input
ELF file to the output firmware image. The Build ID is used for
debugging and allows tools to match the firmware image with the correct
debug symbols.
apop5 pushed a commit that referenced this pull request Feb 5, 2026
Adds an optional flag that will copy the build-id section from the input
ELF file to the output firmware image. The Build ID is used for
debugging and allows tools to match the firmware image with the correct
debug symbols.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants