[llvm-commits] [lld] optimize WriterELF findOutputSection

Shankar Easwaran shankare at codeaurora.org
Fri Jan 11 06:50:24 PST 2013


Hi Michael,

> As per the previous comment, this doesn't work. The virtual address of
> the MergedSections is never set.
>
> - Michael Spencer
>
  Search for the comment  (// Set the virtual addr of the merged Sections).

(or)

1943       (*msi)->setMemSize(sectionsize);
1944       (*msi)->setAddr(startaddr);

Above are the lines that does it.

Thanks

Shankar Easwaran

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation




More information about the llvm-commits mailing list