[PATCH] D106671: [RFC][WIP] Add an llvmlibc Triple environment
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 23 08:14:02 PDT 2021
gchatelet updated this revision to Diff 361221.
gchatelet added a comment.
- Do not reformat to keep the change clear (modulo making the linter happy)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106671/new/
https://reviews.llvm.org/D106671
Files:
llvm/include/llvm/ADT/Triple.h
llvm/lib/Support/Triple.cpp
Index: llvm/lib/Support/Triple.cpp
===================================================================
--- llvm/lib/Support/Triple.cpp
+++ llvm/lib/Support/Triple.cpp
@@ -242,11 +242,17 @@
case GNUABIN32: return "gnuabin32";
case GNUEABI: return "gnueabi";
case GNUEABIHF: return "gnueabihf";
- case GNUX32: return "gnux32";
- case GNUILP32: return "gnu_ilp32";
+ case GNUX32:
+ return "gnux32";
+ case GNUILP32:
+ return "gnu_ilp32";
case Itanium: return "itanium";
- case MSVC: return "msvc";
- case MacABI: return "macabi";
+ case LLVMLibc:
+ return "llvmlibc";
+ case MSVC:
+ return "msvc";
+ case MacABI:
+ return "macabi";
case Musl: return "musl";
case MuslEABI: return "musleabi";
case MuslEABIHF: return "musleabihf";
Index: llvm/include/llvm/ADT/Triple.h
===================================================================
--- llvm/include/llvm/ADT/Triple.h
+++ llvm/include/llvm/ADT/Triple.h
@@ -222,10 +222,11 @@
MSVC,
Itanium,
+ LLVMLibc,
Cygnus,
CoreCLR,
Simulator, // Simulator variants of other systems, e.g., Apple's iOS
- MacABI, // Mac Catalyst variant of Apple's iOS deployment target.
+ MacABI, // Mac Catalyst variant of Apple's iOS deployment target.
LastEnvironmentType = MacABI
};
enum ObjectFormatType {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106671.361221.patch
Type: text/x-patch
Size: 1325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210723/35356fd4/attachment.bin>
More information about the llvm-commits
mailing list