diff options
| author | LemonBoy <thatlemon@gmail.com> | 2020-09-22 13:18:40 +0200 |
|---|---|---|
| committer | LemonBoy <thatlemon@gmail.com> | 2020-11-05 16:10:15 +0100 |
| commit | 53433cdea2cee73caea52a6baa10dc7bc7f6da4d (patch) | |
| tree | be054df879f9fd491f0a2b9fc87f1af3ccff9d29 /src/codegen.zig | |
| parent | 4664eae1e40813fb50bab83247cc7391312e38cb (diff) | |
| download | zig-53433cdea2cee73caea52a6baa10dc7bc7f6da4d.tar.gz zig-53433cdea2cee73caea52a6baa10dc7bc7f6da4d.zip | |
Implement a fallback mechanism for posix_memalign
Do the alignment dance by ourselves whenever posix_memalign is not
available.
Don't try to use malloc as it has too many edge cases, figuring out
whether a block of memory is manually aligned by the mechanism above or
is directly coming from malloc becomes too hard to be valuable.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
