[clang] [llvm] Enable fexec-charset option (PR #138895)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 29 02:58:51 PST 2026


s-barannikov wrote:

> > > ║typeinfo name │system charset (IBM-1047 on z/OS)║
> 
> > Shouldn't it be -fexec-charset?
> 
> The typeinfo for the basic types will be in the system charset. You want all of the typeinfo names in the same charset.

> You want all of the typeinfo names in the same charset.

Yes, and I also want them to be encoded like other ordinary string literals so that I can use them in e.g. printf and string functions.

> The typeinfo for the basic types will be in the system charset.

Why is that? The standard c++ library (and other libraries linked to the application) should be compiled with the same -fexec-charset option.


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


More information about the llvm-commits mailing list