[all-commits] [llvm/llvm-project] 290fc1: MC, AsmPrinter: Report redefinition error instead o...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Jun 23 23:00:24 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 290fc1ea114a197ec7ee8f85d8f5a20f49012eec
https://github.com/llvm/llvm-project/commit/290fc1ea114a197ec7ee8f85d8f5a20f49012eec
Author: Fangrui Song <i at maskray.me>
Date: 2025-06-23 (Mon, 23 Jun 2025)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/test/CodeGen/X86/equiv_with_fndef.ll
M llvm/test/MC/AsmParser/redef-err.s
Log Message:
-----------
MC,AsmPrinter: Report redefinition error instead of crashing in more cases
* Fix the crash for `.equiv b, undef; b:` (.equiv equates a symbol to an expression and reports an error if the symbol was already defined).
* Remove redundant isVariable check from emitFunctionEntryLabel
Pull Request: https://github.com/llvm/llvm-project/pull/145460
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