[PATCH] [lld] Move AtomLayout from ELF to Core so that it can be used by non-ELF writers.

Shankar Kalpathi Easwaran shankarke at gmail.com
Fri Jun 14 13:41:25 PDT 2013


  DefaultLayout.h, addAtom function.

  513   } else if (const AbsoluteAtom *absoluteAtom = dyn_cast<AbsoluteAtom>(atom)) {
  514     // Absolute atoms are not part of any section, they are global for the whole
  515     // link
  516     _absoluteAtoms.push_back(
  517         new (_allocator) AtomLayout(absoluteAtom, 0, absoluteAtom->value()));
  518     return *_absoluteAtoms.back();

http://llvm-reviews.chandlerc.com/D977



More information about the llvm-commits mailing list