[PATCH] D50297: On FreeBSD, align AArch64 and i386 image base to superpage

Dimitry Andric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 4 11:38:27 PDT 2018


dim added a comment.

Looking at this a bit more, I see that it is unconditionally setting the DefaultImage base for all platforms, which cannot be right.  I didn't notice this when it was committed into FreeBSD, but it doesn't matter there, of course.  I'm not sure if there is a good way to override this setting on a per-platform basis.  Maybe just `if (os == FreeBSD) DefaultImageBase=x`?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D50297





More information about the llvm-commits mailing list