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

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 14 15:09:20 PDT 2025


sbc100 wrote:

I would try with an even simpler program:

```
void foo() {
}
int main() {
  return &foo;   
}
```

You should be able to see the constant value that main returns and verify it is correct.

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


More information about the llvm-commits mailing list