[PATCH] D135877: [lld/mac] Make two local variables const

Thorsten via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 13 07:57:18 PDT 2022


tschuett added inline comments.


================
Comment at: lld/MachO/InputFiles.cpp:813
         StringRef name = strtab + sym.n_strx;
         uint64_t symbolOffset = sym.n_value - sectionAddr;
         InputSection *isec =
----------------
tschuett wrote:
> symbolOffset is not const?
Sorry. It is **not** const.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135877/new/

https://reviews.llvm.org/D135877



More information about the llvm-commits mailing list