[llvm] [LLVM] Update CUDA ELF flags for their new ABI (PR #149534)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 19 09:33:16 PDT 2025


================
@@ -652,6 +652,7 @@ uint8_t ELF::convertNameToOSABI(StringRef Name) {
       .StartsWith("fenixos", ELFOSABI_FENIXOS)
       .StartsWith("cloudabi", ELFOSABI_CLOUDABI)
       .StartsWith("cuda", ELFOSABI_CUDA)
+      .StartsWith("cuda", ELFOSABI_CUDA_V2)
----------------
jhuber6 wrote:

I guess this part doesn't matter that much, we can probably just replace the old one. No clue why they changed this part honestly.

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


More information about the llvm-commits mailing list