diff options
| author | Tim Northover <tnorthover@apple.com> | 2015-10-30 16:30:36 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2015-10-30 16:30:36 +0000 |
| commit | 756447a67c39ba1e95cb5c92cbeb06f8a795b7fb (patch) | |
| tree | b26923de67a7995f9112ebdab252ddb3cf2f8a71 /clang/lib/AST | |
| parent | 67465f80eca80beb18f1602095fe03c76b74d52e (diff) | |
| download | bcm5719-llvm-756447a67c39ba1e95cb5c92cbeb06f8a795b7fb.tar.gz bcm5719-llvm-756447a67c39ba1e95cb5c92cbeb06f8a795b7fb.zip | |
Watch and TV OS: wire up basic ABI choices
This sets the mostly expected Darwin default ABI options for these two
platforms. Active changes from these defaults for watchOS are in a later patch.
llvm-svn: 251708
Diffstat (limited to 'clang/lib/AST')
| -rw-r--r-- | clang/lib/AST/ASTContext.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index a27f9b37d26..6e3fcd87f13 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -683,6 +683,7 @@ CXXABI *ASTContext::createCXXABI(const TargetInfo &T) { case TargetCXXABI::GenericARM: // Same as Itanium at this level case TargetCXXABI::iOS: case TargetCXXABI::iOS64: + case TargetCXXABI::WatchOS: case TargetCXXABI::GenericAArch64: case TargetCXXABI::GenericMIPS: case TargetCXXABI::GenericItanium: @@ -8496,6 +8497,7 @@ MangleContext *ASTContext::createMangleContext() { case TargetCXXABI::iOS: case TargetCXXABI::iOS64: case TargetCXXABI::WebAssembly: + case TargetCXXABI::WatchOS: return ItaniumMangleContext::create(*this, getDiagnostics()); case TargetCXXABI::Microsoft: return MicrosoftMangleContext::create(*this, getDiagnostics()); |

