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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 22:48:56 PDT 2023


================
@@ -1,7 +1,7 @@
 # REQUIRES: x86
 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t
 # RUN: not ld.lld %t --script %s -o /dev/null 2>&1 | FileCheck %s
-# CHECK: {{.*}}.test:8: unable to move location counter backward for: .text
+# CHECK: {{.*}}.test:8: unable to move location counter (0x2000) backward (0x10) for section '.text'
----------------
MaskRay wrote:

Thanks for the suggestion. 54daea8e15f7e5e95e6531d34616062af81c4d84 added two more memory regions to demonstrate the full set of errors.

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


More information about the llvm-commits mailing list