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
This commit is contained in:
Viktor Kutuzov
2009-11-17 18:48:27 +00:00
parent aa60ddac39
commit 51cdac02c4
3 changed files with 39 additions and 42 deletions

View File

@@ -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.
/// @{