aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TargetParser/Triple.cpp
diff options
context:
space:
mode:
authorAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>2025-06-11 11:22:40 -0400
committerAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>2025-06-11 11:29:04 -0400
commit9ff4728dacdbec859cd7c733b54f46c82e5afab2 (patch)
tree44aaee96caba918cb8485c9cce324d2766ca6546 /llvm/lib/TargetParser/Triple.cpp
parent718c50e6fe6b82e0e1251422e75759b654b38b5a (diff)
downloadllvm-users/abhina/fexec_charset.zip
llvm-users/abhina/fexec_charset.tar.gz
llvm-users/abhina/fexec_charset.tar.bz2
replace StringMap with pointerusers/abhina/fexec_charset
Diffstat (limited to 'llvm/lib/TargetParser/Triple.cpp')
-rw-r--r--llvm/lib/TargetParser/Triple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/TargetParser/Triple.cpp b/llvm/lib/TargetParser/Triple.cpp
index 4f55d05..772fdd8 100644
--- a/llvm/lib/TargetParser/Triple.cpp
+++ b/llvm/lib/TargetParser/Triple.cpp
@@ -1384,8 +1384,8 @@ StringRef Triple::getOSAndEnvironmentName() const {
return Tmp.split('-').second; // Strip second component
}
-// System charset on z/OS is IBM-1047 and UTF-8 otherwise
-StringRef Triple::getSystemCharset() const {
+// Default encoding on z/OS is IBM-1047 and UTF-8 otherwise
+StringRef Triple::getDefaultTextEncoding() const {
if (getOS() == llvm::Triple::ZOS)
return "IBM-1047";
return "UTF-8";