[llvm] [TargetParser] Parse Amazon Linux triple and handle RuntimeLibcalls (PR #136114)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 18 03:52:52 PDT 2025


================
@@ -173,7 +173,7 @@ void RuntimeLibcallsInfo::initLibcalls(const Triple &TT) {
     setLibcallName(RTLIB::EXP10_F64, "__exp10");
   }
 
-  if (TT.isGNUEnvironment() || TT.isOSFuchsia() ||
+  if (TT.isGNUEnvironment() || TT.isOSFuchsia() || TT.isAmazonLinux() ||
----------------
MacDue wrote:

It looks like setting in the environment within `Triple::normalize` could work though.  

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


More information about the llvm-commits mailing list