<div dir="ltr">Thanks. Will do it next time. (I just committed another similar -Wunused-variable fix which was not associated with a revision number..)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 25, 2019 at 9:59 PM Hans Wennborg <<a href="mailto:hans@chromium.org">hans@chromium.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, Jun 22, 2019 at 3:30 AM Fangrui Song via llvm-commits<br>
<<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>> wrote:<br>
><br>
> Author: maskray<br>
> Date: Fri Jun 21 18:30:17 2019<br>
> New Revision: 364124<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=364124&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=364124&view=rev</a><br>
> Log:<br>
> Make GlobalISel depend on SelectionDAG after D63169<br>
<br>
Please refer to commits by the SVN revision rather than the code<br>
review number. That way it's easier to find dependent changes when<br>
looking at a commit.<br>
<br>
><br>
> GlobalISel/IRTranslator.cpp now references SelectionDAG/FunctionLoweringInfo.cpp.<br>
> This fixes a link error in -DBUILD_SHARED_LIBS=on builds:<br>
><br>
> ld.lld: error: undefined symbol: llvm::FunctionLoweringInfo::clear()<br>
> >>> referenced by IRTranslator.cpp:2198 (../lib/CodeGen/GlobalISel/IRTranslator.cpp:2198)<br>
> >>> lib/CodeGen/GlobalISel/CMakeFiles/LLVMGlobalISel.dir/IRTranslator.cpp.o:(llvm::IRTranslator::finalizeFunction())<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">宋方睿</div></div>