[all-commits] [llvm/llvm-project] ee23f8: [COFF] Remove a truncation assertion from setRVA

Reid Kleckner via All-commits all-commits at lists.llvm.org
Thu May 13 19:37:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee23f8b36f2c620f54fe5cbd74cbf930cb67c6fb
      https://github.com/llvm/llvm-project/commit/ee23f8b36f2c620f54fe5cbd74cbf930cb67c6fb
  Author: Reid Kleckner <rnk at google.com>
  Date:   2021-05-13 (Thu, 13 May 2021)

  Changed paths:
    M lld/COFF/Chunks.h

  Log Message:
  -----------
  [COFF] Remove a truncation assertion from setRVA

LLD already produces a nice error message when sections exceed 4GB, and
this setRVA assertion causes LLD to crash instead of diagnosing the
error properly.

No test because we don't want slow tests that create 4GB files.




More information about the All-commits mailing list