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 | 51cdac02c4125b8545728eb30ab5f54e437d6377 (patch) | |
tree | 51ed0c60152d1534ce936f0614448a8db78a277a /include | |
parent | aa60ddac394e8d79ecd9700e32b595c115585007 (diff) | |
download | external_llvm-51cdac02c4125b8545728eb30ab5f54e437d6377.zip external_llvm-51cdac02c4125b8545728eb30ab5f54e437d6377.tar.gz external_llvm-51cdac02c4125b8545728eb30ab5f54e437d6377.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. /// @{ |