Open nico opened 2 years ago
ld64 does this (on an m1 host):
% cat foo.s .subsections_via_symbols .globl _f _f: ret % clang -shared -target arm64-apple-macos foo.s ld: warning: arm64 function not 4-byte aligned: _f from /var/folders/w6/wpbtszrs7jl9dc9l5qtdkvg00000gn/T/foo-691246.o
We don't, but should:
% clang -shared -target arm64-apple-macos foo.s -fuse-ld=$PWD/out/gn/bin/ld64.lld
@llvm/issue-subscribers-lld-macho
ld64 does this (on an m1 host):
We don't, but should: