aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-02-25 15:26:24 +0100
committerJakub Konka <kubkon@jakubkonka.com>2022-02-25 21:59:19 +0100
commit1b8ed7842cc09ff687aa7386bf3af8565055a8d1 (patch)
treec439e150d94ca8d9d4263094cb9473a24df0580b /src/codegen/llvm.zig
parentbf6540ce50f8613386be09aac7dc03604af12e1e (diff)
downloadzig-1b8ed7842cc09ff687aa7386bf3af8565055a8d1.tar.gz
zig-1b8ed7842cc09ff687aa7386bf3af8565055a8d1.zip
macho: redo selection of segment/section for decls and consts
* fix alignment issues for consts with natural ABI alignment not matching that of the `ldr` instruction in `aarch64` - solved by preceeding the `ldr` with an additional `add` instruction to form the full address before dereferencing the pointer. * redo selection of segment/section for decls and consts based on combined type and value
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions