[all-commits] [llvm/llvm-project] 585986: [ELF] Postpone ASSERT error

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed May 28 20:56:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5859863bab7fb1cd98b6028293cba6ba25f7d514
      https://github.com/llvm/llvm-project/commit/5859863bab7fb1cd98b6028293cba6ba25f7d514
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M lld/ELF/ScriptParser.cpp
    M lld/test/ELF/linkerscript/locationcountererr-arm-exidx.test

  Log Message:
  -----------
  [ELF] Postpone ASSERT error

assignAddresses is executed more than once. When an ASSERT expression
evaluates to zero, we should only report an error for the last
assignAddresses. Make a change similar to #66854 and #96361.

This change might help https://github.com/ClangBuiltLinux/linux/issues/2094



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list