# llvm: Replace DataLayoutBuilder with a simple target \-\> string switch\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 5466a2f72dd5108846a5318cc70644d8a50bc076

Requested commit: 5466a2f72dd5108846a5318cc70644d8a50bc076

Commit: 5466a2f72dd5108846a5318cc70644d8a50bc076

Tree: c0da464815b1d87d185b02d344c7c8de6551c5c9

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
llvm: Replace DataLayoutBuilder with a simple target -> string switch.

This should be a lot easier to maintain. It's also a small step towards
eventually making the builder API parse the data layout string in order to
answer layout questions that we need to ask during code generation.

```

## Parents

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

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