[clang] [llvm] Enable fexec-charset option (PR #138895)
Abhina Sree via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 11 08:27:07 PDT 2025
================
@@ -7245,6 +7245,11 @@ let Visibility = [CC1Option, CC1AsOption, FC1Option] in {
def tune_cpu : Separate<["-"], "tune-cpu">,
HelpText<"Tune for a specific cpu type">,
MarshallingInfoString<TargetOpts<"TuneCPU">>;
+def fexec_charset : Separate<["-"], "fexec-charset">, MetaVarName<"<charset>">,
+ HelpText<"Set the execution <charset> for string and character literals. "
+ "Supported character encodings include ISO8859-1, UTF-8, IBM-1047 "
----------------
abhina-sree wrote:
This was because ConvertEBCDIC.cpp has a table for converting between EBCDIC and UTF-8 so those conversions will always be supported even without icu/iconv. I can definitely update this to something more succinct
https://github.com/llvm/llvm-project/pull/138895
More information about the llvm-commits
mailing list