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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 21 01:13:52 PDT 2025


arsenm wrote:

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

But we know the object format from the triple. Most of the properties in MCAsmInfo probably should be triple functions 

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


More information about the llvm-commits mailing list