[PATCH] D23451: [ELF] - Linkerscript: fix VA value assigned to sections when using constraints.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 12 13:42:10 PDT 2016
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: ELF/LinkerScript.cpp:218-219
@@ -217,5 +217,4 @@
template <class ELFT>
-static bool matchConstraints(ArrayRef<InputSectionBase<ELFT> *> Sections,
- ConstraintKind Kind) {
+static bool checkConstraint(typename ELFT::uint Flags, ConstraintKind Kind) {
bool RO = (Kind == ConstraintKind::ReadOnly);
----------------
Instead of template this function, use `uint64_t` instead of ELF::uint.
https://reviews.llvm.org/D23451
More information about the llvm-commits
mailing list