[all-commits] [llvm/llvm-project] 85a2f2: [lld][COFF] Fix bug causing assertion in Chunk::se...

Andrew Ng via All-commits all-commits at lists.llvm.org
Tue Jan 10 06:21:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85a2f29fd485d29e6a93de6f0c2bfdc009d06a56
      https://github.com/llvm/llvm-project/commit/85a2f29fd485d29e6a93de6f0c2bfdc009d06a56
  Author: Andrew Ng <andrew.ng at sony.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M lld/COFF/COFFLinkerContext.cpp
    M lld/COFF/COFFLinkerContext.h
    M lld/COFF/Chunks.h

  Log Message:
  -----------
  [lld][COFF] Fix bug causing assertion in Chunk::setAlignment

Reinstate use of FakeSection class to avoid constructing SectionChunk
from unintialised coff_section in FakeSectionChunk constructor.

Issue was caused by commit 5a58b19f9c93f3ac51bcde318508131ae78aa10c,
"[LLD] Remove global state in lld/COFF".




More information about the All-commits mailing list