[all-commits] [llvm/llvm-project] acf81a: [MC] Flush pending errors when layout stops early ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Sep 23 23:07:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: acf81a81386f88305b346798ef36b4e276c74f82
      https://github.com/llvm/llvm-project/commit/acf81a81386f88305b346798ef36b4e276c74f82
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/test/MC/ELF/leb128-err.s

  Log Message:
  -----------
  [MC] Flush pending errors when layout stops early due to relaxOnce error (#226028)

When relaxOnce returns nonzero after an error has been reported,
layout() returns without flushing the errors recorded by the last
relaxation pass, and Finish() fails `assert(PendingErrors.empty())`.

Fixes #225036



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