[lld] wasm-ld: Implement function pointer alignment (PR #105532)

Ethan O'Brien via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 20 12:44:42 PDT 2025


ethanaobrien wrote:

Yes, I agree. I'm just not sure what else to do and don't know enough how the codebase works to debug this deeper

It seems to happen when writing to stdout or writing a file, `f->write` seems to be an undefined symbol.

https://github.com/emscripten-core/emscripten/blob/6ca370067cacb6a6102ed7245c611660ab38a514/system/lib/libc/musl/src/stdio/fwrite.c#L16

https://github.com/emscripten-core/emscripten/blob/6ca370067cacb6a6102ed7245c611660ab38a514/system/lib/libc/musl/src/stdio/fflush.c#L29C2-L29C15

https://github.com/llvm/llvm-project/pull/105532


More information about the llvm-commits mailing list