[llvm-branch-commits] [NFCI][AArch64] Replace R_AARCH64_AUTH_ABS64 addend hack (PR #171192)

Jessica Clarke via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 8 11:51:24 PST 2025


================
@@ -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


More information about the llvm-branch-commits mailing list