[clang] [llvm] [MC] Flush PendingErrors on early return in MCAssembler::layout() (PR #225769)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 23:10:34 PDT 2026
MaskRay wrote:
The fix is in llvm/lib/MC, but the test was added as clang/test/CodeGen/inline-asm-pending-errors.c with inappropriate comment.
MC behavior should be tested at the llvm layer — llvm/test/MC, or an llc -filetype=obj test if we need the inline-asm path to reach layout after a parse error. Clang tests that exercise the integrated assembler put coverage in the wrong place and are harder to maintain.
Already fixed.
https://github.com/llvm/llvm-project/pull/225769
More information about the llvm-commits
mailing list