[llvm] Treat ';' and '\n' as assembly instruction separators in collectAsmInstrs (PR #149365)

Rahman Lavaee via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 21 10:07:53 PDT 2025


rlavaee wrote:

> This would break Mach-O, which uses `;` as a comment marker.
> 
> See `CommentString = ";";` in MCAsmInfo.cpp files. Unfortunately, IR cannot depend on MC..

Thank you. Removed the handling of ';' as instruction separator.

https://github.com/llvm/llvm-project/pull/149365


More information about the llvm-commits mailing list