[lld] [ELF] Postpone "unable to move location counter backward" error (PR #66854)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 08:54:08 PDT 2023


================
@@ -345,8 +345,8 @@ class LinkerScript final {
   // Describe memory region usage.
   void printMemoryUsage(raw_ostream &os);
 
-  // Verify memory/lma overflows.
-  void checkMemoryRegions() const;
+  // Check backward location counter assignment and memory region/LMA overflows.
+  void checkDotAndMemoryRegions() const;
----------------
MaskRay wrote:

Renamed to checkFinalScriptConditions in 2bf25dc88bfa848ca520578ce2c0e6bb15d1a1a9

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


More information about the llvm-commits mailing list