# std.Build.Step.CheckObject: fix parseDumpNames · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/a69788ba79be691c1b0f33195a31c6722c81727b)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: a69788ba79be691c1b0f33195a31c6722c81727b

Requested commit: a69788ba79be691c1b0f33195a31c6722c81727b

Commit: a69788ba79be691c1b0f33195a31c6722c81727b

Tree: 028fbd462612c4a3ce4381dd803c30380303703c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Build.Step.CheckObject: fix parseDumpNames

This function incorrectly assumed that module name subsections, function
name subsections, and local name subsections are encoded the same,
however according to
[the specification](https://webassembly.github.io/spec/core/appendix/custom.html)
they are encoded differently.

This commit adds support for parsing module name subsections correctly,
which started appearing after upgrading to LLVM 18.

```

## Parents

- [1c9bb6a79de3ca52d819177fea32ce7993634e31](https://git.cafe/gitcafe/zig/commit/1c9bb6a79de3ca52d819177fea32ce7993634e31?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/a69788ba79be691c1b0f33195a31c6722c81727b?format=markdown)
