[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:53:48 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:
Thanks for the suggestion. I remember that I've seen similar `ASSERT` issues. We can postpone the check when the problem arises...
https://github.com/llvm/llvm-project/pull/66854
More information about the llvm-commits
mailing list