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

Paul Osmialowski via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 4 06:15:09 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() ||
----------------
pawosm-arm wrote:

> So we just need a way to recognize the aarch64-amazon-linux gcc installation.

@MaskRay that's an interesting proposal worth pursuing. Do you have any specific mechanism of doing so in mind? At what level such recognition activity could be implemented?

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


More information about the llvm-commits mailing list