[clang] [llvm] [clang] Fix encoding handling of asm strings (PR #169803)

Sergei Barannikov via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 16 17:59:41 PST 2026


s-barannikov wrote:

> Do we have a cmake setting to disable all uses of iconv and ICU in all LLVM tools ever?

There are LLVM_ENABLE_ICU / LLVM_ENABLE_ICONV, both are OFF by default, if that's what you mean.

> I believe most systems only care about UTF-8, and IMHO the right default for such a setting would be "on". (But as long as I can opt our builds out of iconv/icu deps, I don't care too much about the default.)

While this patch is z/OS specific, other parts of the compiler (will) need ICU/iconv to support `-fexec-charset` and its MSVC equivalent.

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


More information about the cfe-commits mailing list