================
@@ -585,7 +585,7 @@ struct RelativeReloc {
     return inputSec->getVA(inputSec->relocs()[relocIdx].offset);
   }
 
-  const InputSectionBase *inputSec;
+  InputSectionBase *inputSec;
----------------
jrtc27 wrote:

Could const_cast instead in finalizeAddressDependentContent, whichever's deemed 
better for this case (note that *inputSec is const in DynamicReloc, so removing 
it here creates disparity)

https://github.com/llvm/llvm-project/pull/171192
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to