# llvm: Use inline variants of memcpy/memset intrinsics when using \-fno-builtin\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 21eb75749722668632da55499831eedc62120d61

Requested commit: 21eb75749722668632da55499831eedc62120d61

Commit: 21eb75749722668632da55499831eedc62120d61

Tree: 9f7bbb1f5cf56763c1e82813f026fc2f1c14e8c8

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
llvm: Use inline variants of memcpy/memset intrinsics when using -fno-builtin.

This is a correctness issue: When -fno-builtin is used, we must assume that we
could be compiling the memcpy/memset implementations, so generating calls to
them is problematic.

```

## Parents

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

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