<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 20, 2017 at 11:16 PM Dean Michael Berris via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">dberris added a comment.<br>
<br>
Thanks -- landing this now, we can change more of the details later.<br>
<br>
<br>
<br>
================<br>
Comment at: lib/CodeGen/AsmPrinter/AsmPrinter.cpp:2833-2834<br>
   OutStreamer->EmitLabel(IdxRef);<br>
   OutStreamer->EmitSymbolValue(SledsStart, WordSizeBytes);<br>
   OutStreamer->EmitSymbolValue(SledsEnd, WordSizeBytes);<br>
   OutStreamer->SwitchSection(PrevSection);<br>
----------------<br>
dblaikie wrote:<br>
> Do these both need to be link-time (or even runtime, I guess) relocations? Or could the 'end' be stored as "end - start" (ie: length rather than end) to remove an extra relocation from the object file?<br>
We can change this, but then that means we're going to have to coordinate it between how we're using the index in the runtime and the back-end (here). Is the concern the effect on linking time? Or do these symbols pollute the debug info somehow?<br></blockquote><div><br>Just link time and object size - sounded like you were interested in object size, so this seemed relevant.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<a href="https://reviews.llvm.org/D34340" rel="noreferrer" target="_blank">https://reviews.llvm.org/D34340</a><br>
<br>
<br>
<br>
</blockquote></div></div>