[lld] r261712 - ELF: Remove InputSectionBase::getAlign and instead add Align member.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 06:11:46 PST 2016


> +  // The ELF spec states that a value of 0 means the section has
> +  // no alignment constraits.
> +  if (Header)
> +    Align = std::max<uintX_t>(Header->sh_addralign, 1);
>  }

When is Header null?

Cheers,
Rafael


More information about the llvm-commits mailing list