[all-commits] [llvm/llvm-project] ee4c12: [ELF] Postpone more linker script errors

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jun 24 10:15:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee4c12f87dfe24431a786d8bf32aa853a5f39e7f
      https://github.com/llvm/llvm-project/commit/ee4c12f87dfe24431a786d8bf32aa853a5f39e7f
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

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

  Log Message:
  -----------
  [ELF] Postpone more linker script errors

Since `assignAddresses` is executed more than once, error reporting
during `assignAddresses` would be duplicated. Generalize #66854 to cover
more errors.

Note: address-related errors exposed in one invocation might not be
errors in another invocation.

Pull Request: https://github.com/llvm/llvm-project/pull/96361



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