nikic wrote:

Reverted this because it broke 
https://github.com/llvm/llvm-project/blob/main/llvm/test/tools/gold/X86/multiple-sections.ll.

In that test, `pat` is now allocated at address:
```
2: 00000000004000cf 1 FUNC LOCAL DEFAULT 1 pat
```

This seems fishy to me. I would not expect your stack of changes to have any 
effect on function addresses in cases where no explicit align or prefalign 
attributes are present at all.

https://github.com/llvm/llvm-project/pull/155529
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to