diff options
author | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2009-11-17 18:48:27 +0000 |
---|---|---|
committer | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2009-11-17 18:48:27 +0000 |
commit | ee140c4ce226ab811c551e85a3302a9e0ba5f301 (patch) | |
tree | 51ed0c60152d1534ce936f0614448a8db78a277a /include | |
parent | 5da4d89ecae4eb432275e4c186811bbb2116a35b (diff) | |
download | external_llvm-ee140c4ce226ab811c551e85a3302a9e0ba5f301.zip external_llvm-ee140c4ce226ab811c551e85a3302a9e0ba5f301.tar.gz external_llvm-ee140c4ce226ab811c551e85a3302a9e0ba5f301.tar.bz2 |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ADT/Triple.h | 4 |
1 files changed, 4 insertions, 0 deletions
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. /// @{ |