[lld] [lld][ELF] Skip finalizeAddressDependentContent if assignAddresses produces errors. (PR #75581)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 13:07:53 PST 2023


================
@@ -28,7 +28,7 @@
 # CHECK-NEXT: 0000000000001000 A newsym
 
 # RUN: not ld.lld -T chain2.t a.o 2>&1 | FileCheck %s --check-prefix=ERR --implicit-check-not=error:
-# ERR-COUNT-3: error: chain2.t:1: symbol not found: undef
+# ERR-COUNT-2: error: chain2.t:1: symbol not found: undef
----------------
MaskRay wrote:

This is not entirely fixed.

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


More information about the llvm-commits mailing list