[Mesa-dev] [PATCH 1/2] util: Add utility build-id code.

Chad Versace chadversary at chromium.org
Tue Feb 14 19:36:24 UTC 2017


On Tue 14 Feb 2017, Matt Turner wrote:
> Provides the ability to read the .note.gnu.build-id section of ELF
> binaries, which is inserted by the --build-id=... flag to ld.

Heh. Sunday night I wrote a prototype of this myself. I'm strongly in
favor of basing Vulkan unique id's on the ELF build-id instead of the
past and current approaches we've used.

Still reviewing the patch...

> ---
>  configure.ac              |   2 +
>  src/util/Makefile.sources |   2 +
>  src/util/build_id.c       | 109 ++++++++++++++++++++++++++++++++++++++++++++++
>  src/util/build_id.h       |  56 ++++++++++++++++++++++++
>  4 files changed, 169 insertions(+)
>  create mode 100644 src/util/build_id.c
>  create mode 100644 src/util/build_id.h


More information about the mesa-dev mailing list