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

Abhina Sree via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 17 10:15:22 PST 2025


abhina-sree wrote:

> Hey Abhina, just did some testing on s390x architecture, is it intended that inline assembly is converted to EBCDIC (1047) when the `IBM1047` flag is passed?
> 
> I believe gcc skips inline assembly when using `-fexec-charset`, and I'm not sure its a good idea to break the compatibility.

Hi Euan, the intention is that asm string literals will remain in the internal charset (UTF-8) regardless of the fexec-charset option, I've updated the table to reflect that. I initially thought about making that change in a separate patch to contain the size, but it seems like I should add it to this patch to keep compatibility, I will work on that

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


More information about the llvm-commits mailing list