# LLVM: fix UAF when lowering debug info for structs · gitcafe/zig

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

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

Visibility: public

Requested revision: 747440677dc58394c73235627d9016ee5f7588d8

Requested commit: 747440677dc58394c73235627d9016ee5f7588d8

Commit: 747440677dc58394c73235627d9016ee5f7588d8

Tree: 1ddc55186d1741fd7a9f9088f63763ae11a8fd67

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
LLVM: fix UAF when lowering debug info for structs

Gotta call the get() function inside the loop if the loop adds anything
to InternPool.

```

## Parents

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

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