From ee140c4ce226ab811c551e85a3302a9e0ba5f301 Mon Sep 17 00:00:00 2001 From: Viktor Kutuzov Date: Tue, 17 Nov 2009 18:48:27 +0000 Subject: Added getArchNameForAssembler method to the Triple class for which returns OS and Vendor independent target assembler arch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89122 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/Triple.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h index c59f79e..a9e3e53 100644 --- a/include/llvm/ADT/Triple.h +++ b/include/llvm/ADT/Triple.h @@ -239,6 +239,10 @@ public: /// environment components with a single string. void setOSAndEnvironmentName(StringRef Str); + /// getArchNameForAssembler - Get an architecture name that is understood by the + /// target assembler. + const char *getArchNameForAssembler(); + /// @} /// @name Static helpers for IDs. /// @{ -- cgit v1.1