[lld] [LLD] Implement --enable-non-contiguous-regions (PR #90007)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri May 10 14:33:17 PDT 2024


================
@@ -309,6 +310,12 @@ std::string InputSectionBase::getObjMsg(uint64_t off) const {
       .str();
 }
 
+PotentialSpillSection::PotentialSpillSection(InputSectionBase *source,
----------------
MaskRay wrote:

We prefer `const &`  when a parameter is non-null.

https://github.com/llvm/llvm-project/pull/90007


More information about the llvm-commits mailing list