[clang] [clang] Report an invalid -mllvm or -mmlir argument instead of exiting (PR #229781)

Chen Miao via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 8 18:39:14 PST 2026


https://github.com/ChenMiaoi commented:

The PR description is quite long for a straightforward issue: an invalid `-mllvm` or `-mmlir` option causes the parser to call `exit()`, terminating applications that embed Clang. 

Could you shorten it to explain the cause and include a simple example?

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


More information about the cfe-commits mailing list