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

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

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

Visibility: public

Requested revision: 16d3f7b2fa7461643e85a9a52dcd2bf9c01caa1e

Requested commit: 16d3f7b2fa7461643e85a9a52dcd2bf9c01caa1e

Commit: 16d3f7b2fa7461643e85a9a52dcd2bf9c01caa1e

Tree: 2350b2bf2b52345e3647a85330176680d28ecafc

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

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

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